Skip to content

Commit

Permalink
fix: remove __WAKU_SSR_ENNABLED__
Browse files Browse the repository at this point in the history
  • Loading branch information
ojj1123 committed Jan 14, 2024
1 parent 714c1b0 commit e5e27df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const rootElement = (
</StrictMode>
);

if ((globalThis as any).__WAKU_SSR_ENABLED__) {
if (import.meta.env.WAKU_HYDRATE) {
hydrateRoot(document.body, rootElement);
} else {
createRoot(document.body).render(rootElement);
Expand Down

0 comments on commit e5e27df

Please sign in to comment.