Skip to content

Commit

Permalink
fix(frontend): remove the side menu when it is not displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
Falinor committed Oct 7, 2024
1 parent 5ca1c79 commit c459f78
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,19 @@ function OwnerEditionSideMenu(props: Props) {
toastId: 'owner-edition'
});

if (!active) {
return (
<Button
className={props.className}
priority="tertiary"
size="small"
onClick={open}
>
Éditer l’adresse
</Button>
);
}

return (
<>
<Button
Expand Down

0 comments on commit c459f78

Please sign in to comment.