Skip to content

Commit 752e773

Browse files
committed
fix theEnd utility
1 parent d7ab54e commit 752e773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/tabs/theEnd.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import { RouterTabModel } from "src/lib/tabs/useRouterTabs.tsx";
22

3-
export const theEnd = (tabs: RouterTabModel[]) => tabs.length - 1;
3+
export const theEnd = (tabs: RouterTabModel[]) => tabs.length;

0 commit comments

Comments
 (0)