import { apiFetch } from "@/api/auth"; import { Button } from "@/components/ui/button"; import { useEffect, useState } from "react"; export function Video() { const refresh = async () => { await apiFetch(`/protected/refreshfiles`, { method: "POST", }); } const create = async () => { await apiFetch(`/protected/createclip`, { method: "POST", }); } return (