File tree Expand file tree Collapse file tree 1 file changed +20
-16
lines changed
rcongui/src/pages/records/players/[playerId] Expand file tree Collapse file tree 1 file changed +20
-16
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ import {
18
18
SummaryCard ,
19
19
DetailCard ,
20
20
} from "./styled" ;
21
+ import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs' ;
22
+ import { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider' ;
21
23
import PlayerProfileSummary from "@/components/player/profile/Summary" ;
22
24
import PlayerProfileHeader from "@/components/player/profile/Header" ;
23
25
import { generatePlayerActions } from "@/features/player-action/actions" ;
@@ -128,22 +130,24 @@ export default function PlayerProfilePage() {
128
130
</ CardContent >
129
131
</ SummaryCard >
130
132
131
- < DetailCard elevation = { 0 } variant = "outlined" >
132
- < CardContent >
133
- < Tabs
134
- value = { getActiveTab ( ) }
135
- onChange = { handleTabChange }
136
- variant = "standard"
137
- sx = { { mb : 3 } }
138
- >
139
- { DETAIL_LINKS . map ( ( link ) => (
140
- < Tab key = { link . path } label = { link . label } />
141
- ) ) }
142
- </ Tabs >
143
- { getActiveTab ( ) === 0 && < ReceivedActions /> }
144
- < Outlet context = { { profile, submit } } />
145
- </ CardContent >
146
- </ DetailCard >
133
+ < LocalizationProvider dateAdapter = { AdapterDayjs } >
134
+ < DetailCard elevation = { 0 } variant = "outlined" >
135
+ < CardContent >
136
+ < Tabs
137
+ value = { getActiveTab ( ) }
138
+ onChange = { handleTabChange }
139
+ variant = "standard"
140
+ sx = { { mb : 3 } }
141
+ >
142
+ { DETAIL_LINKS . map ( ( link ) => (
143
+ < Tab key = { link . path } label = { link . label } />
144
+ ) ) }
145
+ </ Tabs >
146
+ { getActiveTab ( ) === 0 && < ReceivedActions /> }
147
+ < Outlet context = { { profile, submit } } />
148
+ </ CardContent >
149
+ </ DetailCard >
150
+ </ LocalizationProvider >
147
151
</ MainContent >
148
152
</ ProfileContainer >
149
153
) ;
You can’t perform that action at this time.
0 commit comments