Skip to content

Commit

Permalink
chore: fix can edit
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggling committed Jan 13, 2025
1 parent f45ba5a commit 97908c5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const Style = {
`,
};

export const RouterRoot = ({ canEdit, canPost }: { canEdit?: boolean; canPost?: boolean }) => {
export const RouterRoot = ({ canEdit }: { canEdit?: boolean }) => {
const { root, updateRoot, createNewRoute, routes } = useRouterConfigContext();
const { mutate } = useUpdatePortalConfig();
const {
Expand Down Expand Up @@ -105,7 +105,7 @@ export const RouterRoot = ({ canEdit, canPost }: { canEdit?: boolean; canPost?:
</Style.CardContent>
</Card>
</Card>
{canPost && (
{canEdit && (
<Card>
<Style.CardContent>
<Typography variant="overline">Base Route Actions</Typography>
Expand Down

0 comments on commit 97908c5

Please sign in to comment.