Finish bridge generalization

This commit is contained in:
Darren Clarke 2024-04-26 15:49:58 +02:00
parent cb7a3a08dc
commit cca8d03988
93 changed files with 634 additions and 2085 deletions

View file

@ -26,7 +26,7 @@ export const Edit: FC<EditProps> = ({
if (formState.success) {
router.push(`/${entity}`);
}
}, [formState.success, router]);
}, [formState.success, router, entity]);
return (
<Dialog

View file

@ -367,10 +367,12 @@ export const Sidebar: FC<SidebarProps> = ({ open, setOpen }) => {
{user?.image && (
<Grid item>
<Box sx={{ width: 20, height: 20 }}>
<img
<Image
src={user?.image ?? ""}
alt="Profile image"
style={{ width: "100%" }}
width={20}
height={20}
unoptimized
/>
</Box>
</Grid>