From 4d42b322bc73e1fc4e97fc5cb50dfa03b71ce8df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ari=20Perkki=C3=B6?= Date: Tue, 13 Aug 2024 18:27:10 +0300 Subject: [PATCH] fix: code review --- packages/astro/src/default/components/WorkspacePanelWrapper.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/astro/src/default/components/WorkspacePanelWrapper.tsx b/packages/astro/src/default/components/WorkspacePanelWrapper.tsx index 6a56a4e4..01fa4a3c 100644 --- a/packages/astro/src/default/components/WorkspacePanelWrapper.tsx +++ b/packages/astro/src/default/components/WorkspacePanelWrapper.tsx @@ -13,7 +13,7 @@ export function WorkspacePanelWrapper({ lesson }: Props) { const theme = useStore(themeStore); useEffect(() => { - tutorialStore.setLesson(lesson, { ssr: import.meta.env.SSR }); + tutorialStore.setLesson(lesson); }, [lesson]); if (import.meta.env.SSR || !tutorialStore.lesson) {