We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31705e1 commit 83b052fCopy full SHA for 83b052f
app/composables/usePermalinkValue.ts
@@ -11,7 +11,7 @@ export function usePermalinkValue<T extends string | number = string>(
11
const localValue = shallowRef<T>(defaultValue)
12
const routeValue = useRouteQuery<T>(queryKey, defaultValue)
13
14
- const parmalinkValue = computed({
+ const permalinkValue = computed({
15
get: () => (permanent ? routeValue.value : localValue.value),
16
set: (value: T) => {
17
if (permanent) {
@@ -22,5 +22,5 @@ export function usePermalinkValue<T extends string | number = string>(
22
},
23
})
24
25
- return parmalinkValue
+ return permalinkValue
26
}
0 commit comments