Skip to content

Commit

Permalink
defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
jerzakm committed Mar 6, 2024
1 parent 45440fd commit 6d4910b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
const param = url.searchParams.get('count');
const count = parseInt(param);
const mode = url.searchParams.get('mode');
const count = parseInt(param) || 1000;
const mode = url.searchParams.get('mode') || 'bunnies';
onMount(() => {
if (mode === 'bunnies') {
Expand Down

0 comments on commit 6d4910b

Please sign in to comment.