File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ import type { NextConfig } from 'next' ;
2+ import withLinaria from 'next-with-linaria' ;
3+
4+ const nextConfig : NextConfig = { } ;
5+
6+ export default withLinaria ( nextConfig ) ;
Original file line number Diff line number Diff line change 3333 "css-loader" : " ^7.1.2" ,
3434 "date-fns" : " ^4.1.0" ,
3535 "mini-css-extract-plugin" : " ^2.9.1" ,
36- "next" : " 15.0.0-rc.0 " ,
36+ "next" : " 15.0.0-rc.1 " ,
3737 "next-auth" : " 5.0.0-beta.13" ,
3838 "next-with-linaria" : " ^0.7.0" ,
39- "react" : " 19.0.0-rc-67fee58b-20240926 " ,
40- "react-dom" : " 19.0.0-rc-67fee58b-20240926 " ,
39+ "react" : " 19.0.0-rc-83825814-20241015 " ,
40+ "react-dom" : " 19.0.0-rc-83825814-20241015 " ,
4141 "typescript-case-convert" : " ^1.3.5" ,
4242 "vite-tsconfig-paths" : " ^5.0.1" ,
4343 "zod" : " ^3.22.4"
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export async function GET(req: NextRequest) {
1414 throw new Error ( 'Invalid state' ) ;
1515 }
1616
17- cookies ( ) . delete ( 'logout_state' ) ;
17+ ( await cookies ( ) ) . delete ( 'logout_state' ) ;
1818
1919 return await signOut ( { redirectTo : '/' , redirect : true } ) ;
2020 }
@@ -29,7 +29,7 @@ export async function GET(req: NextRequest) {
2929 }
3030
3131 const rand = crypto . randomUUID ( ) . replaceAll ( '-' , '' ) ;
32- cookies ( ) . set ( 'logout_state' , rand ) ;
32+ ( await cookies ( ) ) . set ( 'logout_state' , rand ) ;
3333
3434 return redirect ( `${ session . logoutUrl } &state=${ rand } ` ) ;
3535}
Original file line number Diff line number Diff line change 1313 " jest.preset.js" ,
1414 " eslint.config.mjs" ,
1515 " next-env.d.ts" ,
16- " next.config.js " ,
16+ " next.config.ts " ,
1717 " plopfile.ts" ,
1818 " src/**/*.ts" ,
1919 " src/**/*.tsx" ,
You can’t perform that action at this time.
0 commit comments