Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions apps/guard/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ const path = require('path');
const nextConfig = {
typedRoutes: true,
output: 'export',
typescript: {
ignoreBuildErrors: true,
},
staticPageGenerationTimeout: 600,
env: {
API_BASE_URL: process.env.API_BASE_URL,
Expand Down
3 changes: 0 additions & 3 deletions apps/watcher/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ const nextConfig = {
unoptimized: true,
},
output: 'export',
typescript: {
ignoreBuildErrors: true,
},
staticPageGenerationTimeout: 600,
env: {
API_BASE_URL: process.env.API_BASE_URL,
Expand Down
5 changes: 3 additions & 2 deletions apps/watcher/src/app/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use client';

import type { Route } from 'next';
import NextImage from 'next/image';
import NextLink from 'next/link';
import { usePathname, useRouter, useSearchParams } from 'next/navigation';
Expand Down Expand Up @@ -36,13 +37,13 @@ export const App = ({ children }: PropsWithChildren) => {
<NoSsr>
<FrameworkProvider
components={{
Anchor: (props) => <NextLink {...props} />,
Anchor: (props) => <NextLink {...props} href={props.href as Route} />,
Image: (props) => <NextImage {...props} />,
}}
router={{
pathname,
search: searchParams.toString(),
push: (href: string) => router.push(href, { scroll: false }),
push: (href: string) => router.push(href as Route, { scroll: false }),
}}
>
<ApiKeyProvider>
Expand Down