Skip to content

Commit

Permalink
Merge pull request #647 from depromeet/develop
Browse files Browse the repository at this point in the history
배포용 PR [page router 마이그레이션]
  • Loading branch information
wade3420 authored Apr 18, 2024
2 parents cbc7245 + 800d740 commit 1954038
Show file tree
Hide file tree
Showing 186 changed files with 1,108 additions and 1,549 deletions.
4 changes: 2 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
9;
/** @type {import('next').NextConfig} */
const nextConfig = {
pageExtensions: ['page.tsx', 'page.ts', 'api.tsx', 'api.ts'],
experimental: {
instrumentationHooks: true,
serverActions: true,
appDir: false,
},
images: {
remotePatterns: [
Expand Down
2 changes: 1 addition & 1 deletion panda.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default defineConfig({
preflight: true,
jsxFramework: 'react',
// Where to look for your css declarations
include: ['./src/**/*.{js,jsx,ts,tsx}', './src/app/**/*.{ts,tsx,js,jsx}', './stories/**/*.{js,jsx,ts,tsx}'],
include: ['./src/**/*.{js,jsx,ts,tsx}', './src/pages/**/*.{ts,tsx,js,jsx}', './stories/**/*.{js,jsx,ts,tsx}'],

// Files to exclude
exclude: [],
Expand Down
1 change: 1 addition & 0 deletions src/apis/mission.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export const useGetMissionDetail = (missionId: string, option?: UseQueryOptions<
return useSuspenseQuery<MissionContentType>({
queryKey: getQueryKey('missionDetail', { missionId }),
queryFn: () => MISSION_APIS.getMissionDetail(missionId),
enabled: Boolean(missionId),
...option,
});
};
Expand Down
54 changes: 0 additions & 54 deletions src/app/LogoIcon.tsx

This file was deleted.

19 changes: 0 additions & 19 deletions src/app/auth/login/layout.tsx

This file was deleted.

88 changes: 0 additions & 88 deletions src/app/global-error.tsx

This file was deleted.

69 changes: 0 additions & 69 deletions src/app/layout.tsx

This file was deleted.

18 changes: 0 additions & 18 deletions src/app/level/guide/layout.tsx

This file was deleted.

15 changes: 0 additions & 15 deletions src/app/mission/[id]/detail/layout.tsx

This file was deleted.

51 changes: 0 additions & 51 deletions src/app/mission/[id]/detail/modify/MissionModify.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions src/app/mission/[id]/stopwatch/layout.tsx

This file was deleted.

28 changes: 0 additions & 28 deletions src/app/mission/[id]/stopwatch/page.tsx

This file was deleted.

Loading

0 comments on commit 1954038

Please sign in to comment.