Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
|
- import { isPoWorkbenchRoute } from "@/app/(main)/isPoWorkbenchRoute";
-
- /** MTMS route board (`/settings/shop/board`). */
- export function isRouteBoardRoute(pathname: string | null): boolean {
- if (!pathname) {
- return false;
- }
- return pathname === "/settings/shop/board";
- }
-
- /** Routes that use the full viewport under the AppBar (no main padding / min-h-screen gap). */
- export function isFullBleedMainRoute(pathname: string | null): boolean {
- return isPoWorkbenchRoute(pathname) || isRouteBoardRoute(pathname);
- }
|