Fix stories uncaught exception on startup

This commit is contained in:
Fedor Indutny 2022-11-16 10:06:33 -08:00 committed by GitHub
parent 8452a72847
commit cf57c7aaf0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -419,7 +419,7 @@ export async function startApp(): Promise<void> {
window.SignalContext.activeWindowService.registerForChange(isActive => {
if (!isActive) {
window.reduxActions.stories.setHasAllStoriesUnmuted(false);
window.reduxActions?.stories.setHasAllStoriesUnmuted(false);
}
});