dashboard
This commit is contained in:
parent
0c148cf011
commit
bc80a358d8
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
Reference in New Issue