fix(lint): resolve type error

This commit is contained in:
lemmyMwaura
2024-07-27 23:33:09 +03:00
parent 57320c51fb
commit d71cb96adf
2 changed files with 2 additions and 2 deletions

View File

@@ -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 },

View File

@@ -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 },