Skip to content

Commit

Permalink
fix(theme-default): fix header update
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Jan 16, 2025
1 parent 564eceb commit b689f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/theme-default/src/client/composables/useHeaders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ export const setupHeaders = (): void => {
provideLocal(headersSymbol, headersRef)

onMounted(() => {
watchImmediate([levels, routePath], updateHeaders)
watchImmediate(() => [levels, routePath], updateHeaders)
})
}

0 comments on commit b689f52

Please sign in to comment.