Add possibility to change fonts. This fixes #88
This commit is contained in:
@@ -30,7 +30,7 @@ const useFetch = <D extends unknown>(url: string): D | undefined => {
|
||||
.catch((error) => {
|
||||
console.error(`fetch ${url} failed. Did the file exist?`, error);
|
||||
});
|
||||
}, []);
|
||||
}, [url]);
|
||||
|
||||
return data;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user