Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function load(+++{ cookies }+++) {
+++const visited = cookies.get('visited');+++

return {
visited
visited: visited === 'true'
};
}
```
Expand All @@ -27,7 +27,7 @@ export function load({ cookies }) {
+++cookies.set('visited', 'true', { path: '/' });+++

return {
visited
visited: visited === 'true'
};
}
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export function load() {
const visited = false;
const visited = 'false';

return {
visited
visited: visited === 'true'
};
}