fix: some static shit

This commit is contained in:
TrèsAbhi committed 2024-09-08 21:29:18 -05:00
1 parent d306b51c2c
commit 250b61b68d
8 files changed
+38 -46

No files matched your search

@@ -44,7 +44,8 @@ export function Navbar() {
const pathname = usePathname();
const logins = App.use((state) => state.logins);
const mutateApp = App.useMutation();
const tools = [homeTool, ...TOOLS];
const toolsFiltered = TOOLS.filter((tool) => !('href' in tool));
const tools = [homeTool, ...toolsFiltered];
const isBranchNamed =
process.env.NEXT_PUBLIC_ASSET_BRANCH &&
BRANCH_NAMES[process.env.NEXT_PUBLIC_ASSET_BRANCH];
@@ -99,7 +100,7 @@ export function Navbar() {
justify="center"
className={styles.tools}
>
{TOOLS.map((tool, index) => {
{toolsFiltered.map((tool, index) => {
const unavailableOnBranch = tool.branches?.every(
(branch) =>
branch !==