Skip to content

Commit

Permalink
update to next 14
Browse files Browse the repository at this point in the history
  • Loading branch information
jthrilly committed Oct 30, 2023
1 parent b46cafb commit 2ea5940
Show file tree
Hide file tree
Showing 6 changed files with 427 additions and 432 deletions.
3 changes: 1 addition & 2 deletions app/(onboard)/_components/OnboardSteps/Documentation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
import { Card, CardContent, CardHeader, CardTitle } from '~/components/ui/card';
import { FileText, Loader2, MonitorPlay } from 'lucide-react';
import { FancyButton } from '~/components/ui/FancyButton';
import { useRouter } from 'next/navigation';
import { experimental_useFormStatus as useFormStatus } from 'react-dom';
import { useFormStatus } from 'react-dom';
import { setAppConfigured } from '~/app/_actions';

function Documentation() {
Expand Down
3 changes: 1 addition & 2 deletions components/AnonymousRecruitmentSwitch/Switch.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/* eslint-disable @typescript-eslint/no-misused-promises */
'use client';

import { Switch as SwitchUI } from '~/components/ui/switch';
import { setAnonymousRecruitment } from './action';
import { experimental_useOptimistic as useOptimistic } from 'react';
import { useOptimistic } from 'react';

const Switch = ({
allowAnonymousRecruitment,
Expand Down
1 change: 0 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ const config = {
output: 'standalone',
reactStrictMode: true,
experimental: {
serverActions: true,
typedRoutes: true,
},
};
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@
"jszip": "^3.10.1",
"lucia": "^2.7.2",
"lucide-react": "^0.286.0",
"next": "^13.5.6",
"next": "^14.0.0",
"next-usequerystate": "^1.8.4",
"papaparse": "^5.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-dropzone": "^14.2.3",
"react-hook-form": "^7.47.0",
"sharp": "^0.32.6",
Expand Down Expand Up @@ -99,7 +99,7 @@
"@types/jest": "^29.5.6",
"@types/node": "^20.8.8",
"@types/papaparse": "^5.3.10",
"@types/react": "^18.2.21",
"@types/react": "^18.2.33",
"@types/react-dom": "^18.2.14",
"@types/uuid": "^9.0.6",
"@types/validator": "^13.11.5",
Expand Down
Loading

0 comments on commit 2ea5940

Please sign in to comment.