mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-22 10:22:16 +00:00
fix: enhance back navigation in NotFoundPage component and remove unused deps (#9341)
* fix: enhance back navigation in NotFoundPage component * chore: update dependencies and refactor imports - Updated `framer-motion` to version `12.23.12` in `package.json` and `bun.lock`. - Removed unused dependencies: `fuse.js`, `react-code-blocks`, `react-datepicker`, `pocketbase`, `simple-icons`. - Refactored import in `number-ticker.tsx` to use `motion/react` instead of `framer-motion`. - Removed CSS import for `react-datepicker` in `page.tsx`. * fix: update NotFoundPage redirection to use basePath from site-config - Modified the redirection logic in NotFoundPage to use the basePath variable. - Set default basePath to "ProxmoxVE" in site-config for improved routing consistency. * update bun.lock
This commit is contained in:
@@ -5,7 +5,7 @@ import React from "react";
|
||||
import type { OperatingSystem } from "@/lib/types";
|
||||
|
||||
// eslint-disable-next-line node/no-process-env
|
||||
export const basePath = process.env.BASE_PATH || "";
|
||||
export const basePath = process.env.BASE_PATH || "ProxmoxVE";
|
||||
|
||||
export const navbarLinks = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user