Skip to content

Commit c7b8966

Browse files
authored
Merge pull request #3118 from devtron-labs/fix/token-list-redirect
fix: redirection from empty state in api token listing
2 parents 831ce96 + 64a7683 commit c7b8966

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Pages/GlobalConfigurations/Authorization/APITokens/ApiTokens.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ const ApiTokens = () => {
153153
)
154154

155155
const redirectToCreate = () => {
156-
navigate(`../create`)
156+
navigate('create')
157157
}
158158

159159
const renderGenerateButton = () => (

0 commit comments

Comments
 (0)