We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7ab54e commit 752e773Copy full SHA for 752e773
src/lib/tabs/theEnd.ts
@@ -1,3 +1,3 @@
1
import { RouterTabModel } from "src/lib/tabs/useRouterTabs.tsx";
2
3
-export const theEnd = (tabs: RouterTabModel[]) => tabs.length - 1;
+export const theEnd = (tabs: RouterTabModel[]) => tabs.length;
0 commit comments