Skip to content

Commit

Permalink
fix wrong dependency import
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
twilight2294 authored Oct 14, 2024
1 parent 39130e3 commit 82f5ba0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/workspace/tags/EditTagPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function EditTagPage({route}: EditTagPageProps) {

return errors;
},
[policyTags, route.params.orderWeight, currentTagName, translate, backTo],
[policyTags, route.params.orderWeight, currentTagName, translate],
);

const editTag = useCallback(
Expand All @@ -68,7 +68,7 @@ function EditTagPage({route}: EditTagPageProps) {
: ROUTES.WORKSPACE_TAG_SETTINGS.getRoute(route?.params?.policyID, route.params.orderWeight, route.params.tagName),
);
},
[currentTagName, route.params.policyID, route.params.tagName, route.params.orderWeight, isQuickSettingsFlow],
[currentTagName, route.params.policyID, route.params.tagName, route.params.orderWeight, isQuickSettingsFlow, backTo],
);

return (
Expand Down

0 comments on commit 82f5ba0

Please sign in to comment.