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 8, 2024
1 parent 0097e15 commit 76392eb
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 76392eb

Please sign in to comment.