Spaces:
Running
Running
loading
Browse files- app/page.tsx +2 -0
app/page.tsx
CHANGED
|
@@ -3,6 +3,8 @@ import { SpaceProps } from "@/utils/type";
|
|
| 3 |
import { Spaces } from "@/components/spaces";
|
| 4 |
import { Suspense } from "react";
|
| 5 |
|
|
|
|
|
|
|
| 6 |
async function getSpaces(sort: string) {
|
| 7 |
try {
|
| 8 |
const response = await fetchAllPages(sort);
|
|
|
|
| 3 |
import { Spaces } from "@/components/spaces";
|
| 4 |
import { Suspense } from "react";
|
| 5 |
|
| 6 |
+
export const revalidate = 120;
|
| 7 |
+
|
| 8 |
async function getSpaces(sort: string) {
|
| 9 |
try {
|
| 10 |
const response = await fetchAllPages(sort);
|