mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-09-21 18:42:56 +00:00
Update client/homebrew/pages/sharePage/sharePage.jsx
This commit is contained in:
@@ -39,8 +39,8 @@ const SharePage = (props)=>{
|
||||
document.addEventListener('keydown', handleControlKeys);
|
||||
fetchThemeBundle(undefined, setThemeBundle, brew.renderer, brew.theme);
|
||||
|
||||
// listen for changes in the brew version
|
||||
const eventSource = new EventSource('/stream');
|
||||
|
||||
eventSource.addEventListener('message', (evt)=>{
|
||||
const messageData = JSON.parse(evt.data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user