space-shuffler / app /actions.ts
enzostvs's picture
enzostvs HF staff
initial commit
f70bb71
raw
history blame contribute delete
167 Bytes
"use server"
import { fetchSpaceRandomly } from "@/utils/network"
export const getSpace = async () => {
const space = await fetchSpaceRandomly();
return space;
}