Skip to content

Commit 7bec7bd

Browse files
author
dschlabach
committed
add comment
1 parent e130875 commit 7bec7bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

playground/nextjs-app-router/lib/url-params.ts

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export function getShareableUrl(activeComponent?: OnchainKitComponent) {
4141

4242
for (const param of [...relevantParams, ...commonOptions]) {
4343
const value = localStorage.getItem(getStorageKey(param));
44+
// Only include the param if it's not the default value
4445
if (value && value !== defaultState[param as keyof typeof defaultState]) {
4546
params.set(param, value);
4647
}

0 commit comments

Comments
 (0)