File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -114,10 +114,10 @@ const AdminTable = () => {
114
114
< Table . Td >
115
115
< div className = 'admin-table-permissions' >
116
116
{ user . permissions ?. map ( ( perm ) => (
117
- < Pill key = { perm } className = 'admin-table-permission' >
118
- { permissionsMap [ perm ] }
119
- </ Pill >
120
- ) ) }
117
+ < Pill key = { perm } className = 'admin-table-permission' >
118
+ { permissionsMap [ perm ] }
119
+ </ Pill >
120
+ ) ) }
121
121
</ div >
122
122
</ Table . Td >
123
123
< Table . Td > { user . service_hours } </ Table . Td >
Original file line number Diff line number Diff line change @@ -92,8 +92,10 @@ export const AuthProvider = ({ children }: AuthProviderProps) => {
92
92
const constructedSearchParams = Object . entries ( Object . fromEntries ( params ) )
93
93
. map ( ( [ key , value ] ) => `${ key } =${ value } ` )
94
94
. join ( '&' ) ;
95
-
96
- const constructedSearchParamsParsed = constructedSearchParams ? `?${ constructedSearchParams } ` : '' ;
95
+
96
+ const constructedSearchParamsParsed = constructedSearchParams
97
+ ? `?${ constructedSearchParams } `
98
+ : '' ;
97
99
const fullPath = `${ pathname } ${ constructedSearchParamsParsed } ` ;
98
100
router . push ( `/auth/login?redirectTo=${ encodeURIComponent ( fullPath ) } ` ) ;
99
101
You can’t perform that action at this time.
0 commit comments