Skip to content

Commit

Permalink
Merge pull request #14 from projectsveltos/fix-01
Browse files Browse the repository at this point in the history
split issue
  • Loading branch information
Safouene1 authored Oct 1, 2024
2 parents fdf7478 + 0dd0197 commit 55658c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/layouts/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function Header() {
const [open, setOpen] = useState(false);
const location = useLocation();
const version = import.meta.env.VITE_APP_VERSION;
const isPublicPreview = version.split(".")[0] === "0";
const isPublicPreview = (version?.split(".")[0] ?? "") === "0" || true;
return (
<header className="supports-backdrop-blur:bg-background/60 sticky top-0 z-50 w-full border-b bg-background/90 backdrop-blur">
<div className="container px-4 md:px-8 flex h-14 items-center">
Expand Down

0 comments on commit 55658c9

Please sign in to comment.