fix: remove React.FC type for server-side rendered components
This commit is contained in:
parent
e39a80bc79
commit
46aa5c3c0c
3 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ interface LOGS {
|
||||||
|
|
||||||
export const dynamic = "force-static";
|
export const dynamic = "force-static";
|
||||||
|
|
||||||
const LogsPage: React.FC = async () => {
|
const LogsPage = async () => {
|
||||||
let error: Error | null = null;
|
let error: Error | null = null;
|
||||||
let downloads: LOGS[] = [];
|
let downloads: LOGS[] = [];
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ interface Download {
|
||||||
|
|
||||||
export const dynamic = "force-static";
|
export const dynamic = "force-static";
|
||||||
|
|
||||||
const DownloadPage: React.FC = async () => {
|
const DownloadPage = async () => {
|
||||||
let error: Error | null = null;
|
let error: Error | null = null;
|
||||||
let downloads: Download[] = [];
|
let downloads: Download[] = [];
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ interface Mods {
|
||||||
|
|
||||||
export const dynamic = "force-static";
|
export const dynamic = "force-static";
|
||||||
|
|
||||||
const ModsPage: React.FC = async () => {
|
const ModsPage = async () => {
|
||||||
let error: Error | null = null;
|
let error: Error | null = null;
|
||||||
let downloads: Mods[] = [];
|
let downloads: Mods[] = [];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue