Skip to content

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson committed Oct 8, 2024
1 parent 79d241f commit 7262539
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions taxonium_component/src/hooks/useServerBackend.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ function useServerBackend(backend_url, sid, url_on_fail) {
console.error("EventSource failed:", error);
eventSource.close();
setResult(config);
// TODO atm we set the Result above for backwards compatibility with backends which don't stream mutations and use /config/
// instead. After a while we should stop doing this so that if the stream dies in the middle we don't get
// possible weird behavior.
};
})
.catch((error) => {
Expand Down

0 comments on commit 7262539

Please sign in to comment.