Skip to content

Commit 83b052f

Browse files
chore: fix typo
1 parent 31705e1 commit 83b052f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/composables/usePermalinkValue.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export function usePermalinkValue<T extends string | number = string>(
1111
const localValue = shallowRef<T>(defaultValue)
1212
const routeValue = useRouteQuery<T>(queryKey, defaultValue)
1313

14-
const parmalinkValue = computed({
14+
const permalinkValue = computed({
1515
get: () => (permanent ? routeValue.value : localValue.value),
1616
set: (value: T) => {
1717
if (permanent) {
@@ -22,5 +22,5 @@ export function usePermalinkValue<T extends string | number = string>(
2222
},
2323
})
2424

25-
return parmalinkValue
25+
return permalinkValue
2626
}

0 commit comments

Comments
 (0)