mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
fix(lint): resolve type error
This commit is contained in:
@@ -21,7 +21,7 @@ export const MembersPage = withPermission(
|
||||
}
|
||||
}, [selectedTab]);
|
||||
|
||||
const updateSelectedTab = (tab: TabSections) => {
|
||||
const updateSelectedTab = (tab: string) => {
|
||||
router.push({
|
||||
pathname: router.pathname,
|
||||
query: { ...router.query, selectedTab: tab },
|
||||
|
||||
@@ -22,7 +22,7 @@ export const MembersPage = withProjectPermission(
|
||||
}
|
||||
}, [selectedTab]);
|
||||
|
||||
const updateSelectedTab = (tab: TabSections) => {
|
||||
const updateSelectedTab = (tab: string) => {
|
||||
router.push({
|
||||
pathname: router.pathname,
|
||||
query: { ...router.query, selectedTab: tab },
|
||||
|
||||
Reference in New Issue
Block a user