Fix notifications playing in servers.

This commit is contained in:
Paul 2021-06-26 11:23:28 +01:00
parent 8a16724892
commit 9968792116

View file

@ -233,6 +233,9 @@ const NotifierComponent = connectState(
export default function Notifications() { export default function Notifications() {
return ( return (
<Switch> <Switch>
<Route path="/server/:server/channel/:channel">
<NotifierComponent />
</Route>
<Route path="/channel/:channel"> <Route path="/channel/:channel">
<NotifierComponent /> <NotifierComponent />
</Route> </Route>