Added pre-renders everywhere
All checks were successful
Build Docker Image and Deploy / Build Image and push to Registry (push) Successful in 1m56s
Build Docker Image and Deploy / Deploy on webserver (push) Successful in 31s

- Except jsx files explicitly stating "use client"
This commit is contained in:
Cyril Šebek 2024-07-08 23:05:21 +02:00
parent 7a71a66dc7
commit 8bc889124d
Signed by: blboun3
SSH Key Fingerprint: SHA256:n9dMtOPzgsD+CCerUJslEnU2dzVanbaIv0XDQVRVjeg
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
"use client"
export const prerender = true;
import * as React from "react"

View File

@ -13,6 +13,7 @@ import {
TabsTrigger,
} from "../components/ui/tabs";
export const prerender = true;
export function ShowcaseTabs({ currentLocale }) {
const t = useTranslations(currentLocale);

View File

@ -1,5 +1,3 @@
import * as React from "react"
import { icons } from "../lib/icons"
@ -19,6 +17,7 @@ import {
TooltipTrigger,
} from "./ui/tooltip"
export const prerender = true;
// Please note that clang = lang, it's just for more confusion
export function ThemeSelector({ tooltip }) {

View File

@ -1,5 +1,5 @@
---
export const prerender = false;
export const prerender = true;
import type { GetStaticPaths } from "astro";
import MainLayout from "../layouts/MainLayout.astro";