Skip to content

Commit

Permalink
Merge pull request #634 from depromeet/refactor/page-dir
Browse files Browse the repository at this point in the history
Page Rotuer 전환 PR
  • Loading branch information
wade3420 authored Apr 4, 2024
2 parents a651584 + 37272fe commit fb8320c
Show file tree
Hide file tree
Showing 178 changed files with 1,257 additions and 1,283 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
19 changes: 0 additions & 19 deletions src/app/auth/login/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.

16 changes: 0 additions & 16 deletions src/app/mission/new/layout.tsx

This file was deleted.

149 changes: 0 additions & 149 deletions src/app/mission/new/page.tsx

This file was deleted.

29 changes: 0 additions & 29 deletions src/app/mission/new/useCreateMissionMutation.ts

This file was deleted.

13 changes: 0 additions & 13 deletions src/app/mypage/Profile.tsx

This file was deleted.

Loading

0 comments on commit fb8320c

Please sign in to comment.