dashboard

This commit is contained in:
Karol Wypchlo 2021-02-05 15:48:20 +01:00
parent 0c148cf011
commit bc80a358d8
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ const actions = [];
export default function Downloads() {
const [page, setPage] = useState(1);
const { data, error } = useSWR("/api/fixtures/downloads", fetcher);
const { data, error } = useSWR("/user/downloads", fetcher);
return (
<Layout title="Your downloads">

View File

@ -16,7 +16,7 @@ const actions = [];
export default function Downloads() {
const [page, setPage] = useState(1);
const { data, error } = useSWR("/api/fixtures/uploads", fetcher);
const { data, error } = useSWR("/user/uploads", fetcher);
return (
<Layout title="Your uploads">