Skip to content

Commit

Permalink
fix(notifications): contextual override for WebSocket notification URL (
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores authored Jan 30, 2025
1 parent 9673633 commit e12c454
Show file tree
Hide file tree
Showing 6 changed files with 263 additions and 165 deletions.
3 changes: 2 additions & 1 deletion src/app/AppLayout/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ export const AppLayout: React.FC<AppLayoutProps> = ({ children }) => {

React.useEffect(() => {
serviceContext.api.testBaseServer();
}, [serviceContext.api]);
serviceContext.notificationChannel.connect();
}, [serviceContext.api, serviceContext.notificationChannel]);

React.useEffect(() => {
addSubscription(
Expand Down
Loading

0 comments on commit e12c454

Please sign in to comment.