20260626173529
This commit is contained in:
1 parent
b424369b4b
commit
5983d29128
91 files changed
+9236
-2095
No files matched your search
@@ -12,7 +12,6 @@ export default function AppLayout({ tabs }: { tabs: TabbarItem[] }) {
|
||||
const pathname = usePathname();
|
||||
|
||||
const lastValidTabRef = useRef<TabbarItem | undefined>(undefined);
|
||||
|
||||
const activeTabItem = useMemo(() => {
|
||||
const found = tabs.find((t) => t.id === pathname);
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@ export default function ModuleLayout({ tabs }: { tabs: TabbarItem[] }) {
|
||||
const pathname = usePathname();
|
||||
|
||||
const lastValidTabRef = useRef<TabbarItem | undefined>(undefined);
|
||||
|
||||
const activeTabItem = useMemo(() => {
|
||||
const found = tabs.find((t) => t.id === pathname);
|
||||
|
||||
|
||||
Reference in new issue
Block a user