Skip to content

Commit 8b48610

Browse files
autofix-ci[bot]SebassNoob
authored andcommitted
[autofix.ci] apply automated fixes
1 parent 4785887 commit 8b48610

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

interapp-frontend/src/app/admin/AdminTable/AdminTable.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ const AdminTable = () => {
114114
<Table.Td>
115115
<div className='admin-table-permissions'>
116116
{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+
))}
121121
</div>
122122
</Table.Td>
123123
<Table.Td>{user.service_hours}</Table.Td>

interapp-frontend/src/providers/AuthProvider/AuthProvider.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,10 @@ export const AuthProvider = ({ children }: AuthProviderProps) => {
9292
const constructedSearchParams = Object.entries(Object.fromEntries(params))
9393
.map(([key, value]) => `${key}=${value}`)
9494
.join('&');
95-
96-
const constructedSearchParamsParsed = constructedSearchParams ? `?${constructedSearchParams}` : '';
95+
96+
const constructedSearchParamsParsed = constructedSearchParams
97+
? `?${constructedSearchParams}`
98+
: '';
9799
const fullPath = `${pathname}${constructedSearchParamsParsed}`;
98100
router.push(`/auth/login?redirectTo=${encodeURIComponent(fullPath)}`);
99101

0 commit comments

Comments
 (0)