Skip to content

Commit 4317c42

Browse files
committed
fix: build err test (#320)
1 parent dc9941b commit 4317c42

File tree

10 files changed

+2
-9
lines changed

10 files changed

+2
-9
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ module.exports = {
3838
'unused-imports/no-unused-imports': 'error',
3939
// emotion css props
4040
'react/no-unknown-property': ['error', { ignore: ['css'] }],
41+
'react/prop-types': 'off',
4142
},
4243
overrides: [
4344
{

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ COPY .nx ./
1616

1717
RUN pnpm install
1818

19-
RUN pnpm add -w sharp
20-
2119
ENV NEXT_TELEMETRY_DISABLED=1
2220

2321
RUN pnpm nextjs:build

services/ahhachul.com/src/pages/auth/callback.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable react/prop-types */
21
import { useEffect } from 'react';
32

43
import type { ActivityComponentType } from '@stackflow/react';

services/ahhachul.com/src/pages/community/[id]/edit.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable react/prop-types */
21
import type { ActivityComponentType } from '@stackflow/react';
32

43
import { LayoutComponent, CommunityComponent, UiComponent } from '@/components';

services/ahhachul.com/src/pages/community/[id]/page.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable react/prop-types */
21
import { type ActivityComponentType } from '@stackflow/react';
32

43
import { LayoutComponent, UiComponent, CommunityComponent } from '@/components';

services/ahhachul.com/src/pages/complaint/[id]/page.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable react/prop-types */
21
import { type ActivityComponentType } from '@stackflow/react';
32

43
import { LayoutComponent, LostFoundComponent, UiComponent } from '@/components';

services/ahhachul.com/src/pages/complaint/new.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable react/prop-types */
21
import { FormProvider } from 'react-hook-form';
32

43
import styled from '@emotion/styled';

services/ahhachul.com/src/pages/lostFound/[id]/edit.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable react/prop-types */
21
import type { ActivityComponentType } from '@stackflow/react';
32

43
import { LayoutComponent, LostFoundComponent, UiComponent } from '@/components';

services/ahhachul.com/src/pages/lostFound/[id]/page.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable react/prop-types */
21
import { type ActivityComponentType } from '@stackflow/react';
32

43
import { LayoutComponent, LostFoundComponent, UiComponent } from '@/components';

services/one-app/src/app/(main-service)/lost-found/[id]/_lib/getDetailPostServer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export const getLostFoundDetailPostServer = async ({
1212
revalidate: 3600,
1313
tags: ['lost-found-post', id.toString()],
1414
},
15+
cache: 'force-cache',
1516
credentials: 'include',
1617
headers: { Cookie: (await cookies()).toString() },
1718
});

0 commit comments

Comments
 (0)