fix: remove React.FC type for server-side rendered components

This commit is contained in:
Dorian Niemiec 2024-12-10 20:06:52 +01:00
parent e39a80bc79
commit 46aa5c3c0c
3 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,7 @@ interface LOGS {
export const dynamic = "force-static";
const LogsPage: React.FC = async () => {
const LogsPage = async () => {
let error: Error | null = null;
let downloads: LOGS[] = [];

View file

@ -23,7 +23,7 @@ interface Download {
export const dynamic = "force-static";
const DownloadPage: React.FC = async () => {
const DownloadPage = async () => {
let error: Error | null = null;
let downloads: Download[] = [];

View file

@ -23,7 +23,7 @@ interface Mods {
export const dynamic = "force-static";
const ModsPage: React.FC = async () => {
const ModsPage = async () => {
let error: Error | null = null;
let downloads: Mods[] = [];