We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e130875 commit 7bec7bdCopy full SHA for 7bec7bd
playground/nextjs-app-router/lib/url-params.ts
@@ -41,6 +41,7 @@ export function getShareableUrl(activeComponent?: OnchainKitComponent) {
41
42
for (const param of [...relevantParams, ...commonOptions]) {
43
const value = localStorage.getItem(getStorageKey(param));
44
+ // Only include the param if it's not the default value
45
if (value && value !== defaultState[param as keyof typeof defaultState]) {
46
params.set(param, value);
47
}
0 commit comments