Compare commits
2 Commits
28cd3c0e85
...
f3798b25b2
Author | SHA1 | Date | |
---|---|---|---|
f3798b25b2 | |||
da76ea18a8 |
@ -27,7 +27,7 @@ export default function Settings() {
|
||||
const fetchSettings = async () => {
|
||||
try {
|
||||
setLoading(true);
|
||||
const response = await feth2ch('/api/users/settings');
|
||||
const response = await fetch('/api/users/settings');
|
||||
if (response.ok) {
|
||||
const data = await response.json();
|
||||
setSettings(data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user