Skip to content

Commit ed58a3e

Browse files
ci: apply automated fixes
1 parent 0ea20e5 commit ed58a3e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

labeler-config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@
106106
'package: vue-router-devtools':
107107
- changed-files:
108108
- any-glob-to-any-file: 'packages/vue-router-devtools/**/*'
109+
'package: vue-router-ssr-query':
110+
- changed-files:
111+
- any-glob-to-any-file: 'packages/vue-router-ssr-query/**/*'
109112
'package: zod-adapter':
110113
- changed-files:
111114
- any-glob-to-any-file: 'packages/zod-adapter/**/*'

packages/vue-router-ssr-query/src/index.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,11 @@ export function setupRouterSsrQueryIntegration<TRouter extends AnyRouter>(
2222
}
2323

2424
const OGWrap =
25-
opts.router.options.Wrap ||
26-
((props: { children: any }) => props.children)
25+
opts.router.options.Wrap || ((props: { children: any }) => props.children)
2726

2827
opts.router.options.Wrap = (props) => {
29-
return Vue.h(
30-
QueryClientProvider,
31-
{ client: opts.queryClient },
32-
() => Vue.h(OGWrap, null, () => props.children),
28+
return Vue.h(QueryClientProvider, { client: opts.queryClient }, () =>
29+
Vue.h(OGWrap, null, () => props.children),
3330
)
3431
}
3532
}

0 commit comments

Comments
 (0)