feat: start of tank page

This commit is contained in:
TrèsAbhi committed 2023-12-06 17:58:26 -06:00
1 parent e7bfe81940
commit 3d5dd54ec0
4 files changed
+45 -29

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ interface ToolsLayoutProps {
export default function ToolsLayout({ children }: ToolsLayoutProps) {
const pathname = usePathname();
const toolId = pathname.split('/').at(-1);
const toolId = pathname.split('/').at(2);
const tool = TOOLS.find((tool) => tool.id === toolId);
return (