Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansick committed Apr 5, 2024
1 parent 635ef33 commit dbff05b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function TimesSquareHtmlEventsProvider({ children }) {

React.useEffect(async () => {
async function runEffect() {
if (!htmlEventsUrl) {
if (htmlEventsUrl) {
console.log(`Running fetchEventSource ${fullHtmlEventsUrl}`);
await fetchEventSource(fullHtmlEventsUrl, {
method: 'GET',
Expand Down

0 comments on commit dbff05b

Please sign in to comment.