Skip to content

Commit 7695a35

Browse files
committed
feat: delpoy ahhachul.com app (#develop)
1 parent 76ca717 commit 7695a35

File tree

8 files changed

+38
-8
lines changed

8 files changed

+38
-8
lines changed

.eslintrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ 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',
4241
},
4342
overrides: [
4443
{

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ interface SignInCallbackPageProps {
1616

1717
const SignInCallbackPage: ActivityComponentType<SignInCallbackPageProps> = ({
1818
params: { type, code },
19+
}: {
20+
params: {
21+
type: string;
22+
code: string;
23+
};
1924
}) => {
2025
const { replace } = useFlow();
2126
const { authService } = useAuth();

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ import type { ActivityComponentType } from '@stackflow/react';
33
import { LayoutComponent, CommunityComponent, UiComponent } from '@/components';
44
import type { WithPostId } from '@/types';
55

6-
const EditCommunityPage: ActivityComponentType<WithPostId> = ({ params: { id } }) => {
6+
const EditCommunityPage: ActivityComponentType<WithPostId> = ({
7+
params: { id },
8+
}: {
9+
params: WithPostId;
10+
}) => {
711
return (
812
<LayoutComponent.Base>
913
<UiComponent.SuspenseQueryBoundary

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
import { type ActivityComponentType } from '@stackflow/react';
1+
import type { ActivityComponentType } from '@stackflow/react';
22

33
import { LayoutComponent, UiComponent, CommunityComponent } from '@/components';
44
import type { WithPostId } from '@/types';
55

6-
const CommunityDetailPage: ActivityComponentType<WithPostId> = ({ params: { id } }) => {
6+
const CommunityDetailPage: ActivityComponentType<WithPostId> = ({
7+
params: { id },
8+
}: {
9+
params: WithPostId;
10+
}) => {
711
return (
812
<LayoutComponent.Base>
913
<UiComponent.SuspenseQueryBoundary

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ import { type ActivityComponentType } from '@stackflow/react';
33
import { LayoutComponent, LostFoundComponent, UiComponent } from '@/components';
44
import type { WithPostId } from '@/types';
55

6-
const ComplaintDetailPage: ActivityComponentType<WithPostId> = ({ params: { id } }) => {
6+
const ComplaintDetailPage: ActivityComponentType<WithPostId> = ({
7+
params: { id },
8+
}: {
9+
params: WithPostId;
10+
}) => {
711
return (
812
<LayoutComponent.Base>
913
<UiComponent.SuspenseQueryBoundary

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,13 @@ interface ComplaintFormProps {
1414
slug: KeyOf<typeof complaintsContentDetail>;
1515
}
1616

17-
const NewComplaintPage: ActivityComponentType<ComplaintFormProps> = ({ params: { slug } }) => {
17+
const NewComplaintPage: ActivityComponentType<ComplaintFormProps> = ({
18+
params: { slug },
19+
}: {
20+
params: {
21+
slug: KeyOf<typeof complaintsContentDetail>;
22+
};
23+
}) => {
1824
const information = complaintsContentDetail[slug];
1925

2026
const { isActive } = useActivity();

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ import type { ActivityComponentType } from '@stackflow/react';
33
import { LayoutComponent, LostFoundComponent, UiComponent } from '@/components';
44
import type { WithPostId } from '@/types';
55

6-
const EditLostFoundPage: ActivityComponentType<WithPostId> = ({ params: { id } }) => {
6+
const EditLostFoundPage: ActivityComponentType<WithPostId> = ({
7+
params: { id },
8+
}: {
9+
params: WithPostId;
10+
}) => {
711
return (
812
<LayoutComponent.Base>
913
<UiComponent.SuspenseQueryBoundary

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ import { type ActivityComponentType } from '@stackflow/react';
33
import { LayoutComponent, LostFoundComponent, UiComponent } from '@/components';
44
import type { WithPostId } from '@/types';
55

6-
const LostFoundDetailPage: ActivityComponentType<WithPostId> = ({ params: { id } }) => {
6+
const LostFoundDetailPage: ActivityComponentType<WithPostId> = ({
7+
params: { id },
8+
}: {
9+
params: WithPostId;
10+
}) => {
711
return (
812
<LayoutComponent.Base>
913
<UiComponent.SuspenseQueryBoundary

0 commit comments

Comments
 (0)