···11-import createClient from 'openapi-fetch';
22-31import type { paths } from './schema';
22+33+import createClient from 'openapi-fetch';
4455export const openAPIClient = createClient<paths>({ baseUrl: '/api' });
+2-2
frontend/src/api/wallet.ts
···11+import type { components } from './schema';
22+13import { queryOptions, useMutation, useQuery, useQueryClient } from '@tanstack/vue-query';
24import { proxyRefs, toValue, type MaybeRef } from 'vue';
33-44-import type { components } from './schema';
5566import { openAPIClient } from './client';
77
+7-3
frontend/src/main.ts
···11import './main.css';
22+import type { components } from './api/schema';
33+24import { redirect, RutaVue } from '@jeffydc/ruta-vue';
35import nuxtUI from '@nuxt/ui/vue-plugin';
46import { VueQueryPlugin } from '@tanstack/vue-query';
57import { createApp } from 'vue';
66-77-import type { components } from './api/schema';
8899import { routes } from './+routes.gen';
1010import { meQueryOpts } from './api/user';
···3939 .use(router)
4040 .use(nuxtUI)
4141 .use(VueQueryPlugin, { queryClient: router.context.qc, enableDevtoolsV6Plugin: true });
4242-router.navigate().then(() => app.mount('#app'));
4242+4343+router
4444+ .navigate()
4545+ .then(() => app.mount('#app'))
4646+ .catch(() => {});