mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 19:19:52 +02:00
fix: some static shit
This commit is contained in:
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 !==
|
||||
|
||||
Reference in new issue
Block a user