Skip to content

Commit 4d42b32

Browse files
committed
fix: code review
1 parent 557a9a2 commit 4d42b32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/astro/src/default/components/WorkspacePanelWrapper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function WorkspacePanelWrapper({ lesson }: Props) {
1313
const theme = useStore(themeStore);
1414

1515
useEffect(() => {
16-
tutorialStore.setLesson(lesson, { ssr: import.meta.env.SSR });
16+
tutorialStore.setLesson(lesson);
1717
}, [lesson]);
1818

1919
if (import.meta.env.SSR || !tutorialStore.lesson) {

0 commit comments

Comments
 (0)