mirror of
https://github.com/skidoodle/albert.lol.git
synced 2025-02-15 06:09:15 +01:00
Use turbo & fix anonymous functions
This commit is contained in:
parent
3d9fde82c8
commit
4d9964623f
9 changed files with 1161 additions and 19 deletions
|
@ -13,7 +13,7 @@ import profilePic from 'public/profile.webp';
|
|||
|
||||
export const fetcher = (url: RequestInfo) => fetch(url).then((r) => r.json());
|
||||
|
||||
export default function () {
|
||||
export default function Main() {
|
||||
var { data: spotify } = useSWR('/api/spotify', fetcher, {
|
||||
refreshInterval: 3000,
|
||||
fallbackData: 'loading',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue