mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-24 11:39:22 -05:00
fix build errors in formbricks-com
This commit is contained in:
@@ -84,7 +84,6 @@ interface LayoutProps {
|
||||
|
||||
export function Layout({ children, meta }: LayoutProps) {
|
||||
let router = useRouter();
|
||||
let isHomePage = router.pathname === "/";
|
||||
let allLinks = navigation.flatMap((section) => section.links);
|
||||
let linkIndex = allLinks.findIndex((link) => link.href === router.pathname);
|
||||
let previousPage = allLinks[linkIndex - 1];
|
||||
|
||||
Reference in New Issue
Block a user