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