mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-08 20:09:19 +00:00
Remove unused effect for setting
This commit is contained in:
@@ -28,8 +28,6 @@ import { Initializer } from "./initializer";
|
|||||||
import { MediaDevicesProvider } from "./livekit/MediaDevicesContext";
|
import { MediaDevicesProvider } from "./livekit/MediaDevicesContext";
|
||||||
import { widget } from "./widget";
|
import { widget } from "./widget";
|
||||||
import { useTheme } from "./useTheme";
|
import { useTheme } from "./useTheme";
|
||||||
import { showNonMemberTiles } from "./settings/settings";
|
|
||||||
import { Config } from "./config/Config";
|
|
||||||
|
|
||||||
const SentryRoute = Sentry.withSentryRouting(Route);
|
const SentryRoute = Sentry.withSentryRouting(Route);
|
||||||
|
|
||||||
@@ -73,13 +71,6 @@ export const App: FC<AppProps> = ({ history }) => {
|
|||||||
.catch(logger.error);
|
.catch(logger.error);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Update settings to use the non member tile information from the config if set
|
|
||||||
useEffect(() => {
|
|
||||||
if (loaded && Config.get().show_non_member_tiles) {
|
|
||||||
showNonMemberTiles.setValue(true);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
const errorPage = <CrashView />;
|
const errorPage = <CrashView />;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user