mirror of
https://github.com/skidoodle/albert.lol.git
synced 2026-04-28 03:07:40 +02:00
Use turbo & fix anonymous functions
This commit is contained in:
+1
-1
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user