diff --git a/src/components/layout/index.tsx b/src/components/layout/index.tsx index bf45e0e7..ba751bb6 100644 --- a/src/components/layout/index.tsx +++ b/src/components/layout/index.tsx @@ -61,7 +61,7 @@ const Layout = () => { } if (subscription) { - subscription.unsubscribe(); + subscription?.unsubscribe(); } } };