File tree Expand file tree Collapse file tree 8 files changed +38
-8
lines changed
services/ahhachul.com/src/pages Expand file tree Collapse file tree 8 files changed +38
-8
lines changed Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff line change @@ -16,6 +16,11 @@ interface SignInCallbackPageProps {
1616
1717const 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 ( ) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,11 @@ import type { ActivityComponentType } from '@stackflow/react';
33import { LayoutComponent , CommunityComponent , UiComponent } from '@/components' ;
44import 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
Original file line number Diff line number Diff line change 1- import { type ActivityComponentType } from '@stackflow/react' ;
1+ import type { ActivityComponentType } from '@stackflow/react' ;
22
33import { LayoutComponent , UiComponent , CommunityComponent } from '@/components' ;
44import 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
Original file line number Diff line number Diff line change @@ -3,7 +3,11 @@ import { type ActivityComponentType } from '@stackflow/react';
33import { LayoutComponent , LostFoundComponent , UiComponent } from '@/components' ;
44import 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
Original file line number Diff line number Diff 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 ( ) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,11 @@ import type { ActivityComponentType } from '@stackflow/react';
33import { LayoutComponent , LostFoundComponent , UiComponent } from '@/components' ;
44import 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
Original file line number Diff line number Diff line change @@ -3,7 +3,11 @@ import { type ActivityComponentType } from '@stackflow/react';
33import { LayoutComponent , LostFoundComponent , UiComponent } from '@/components' ;
44import 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
You can’t perform that action at this time.
0 commit comments