Skip to content

Commit ecde5eb

Browse files
chore: disable ssr for showcase app (#563)
# Motivation Without disabling SSR we would not be able to build the showcase case app once the component `InfiniteScroll` is effectively used in the UI. This is because `IntersectionObserver` is not a known NodeJS property. # Notes PR that uses the `InfiniteScroll` in the UI is #562. # Changes - Disable SSR which we do not used in first place anyway - Added wait in the segments E2E as the screenshots seem to be generated earlier following this change (see test https://github.com/dfinity/gix-components/actions/runs/12868805408/job/35876230527) --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 2dbd432 commit ecde5eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/routes/+layout.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
export const prerender = true;
2+
export const ssr = false;

0 commit comments

Comments
 (0)