hotfix: i'd rather not feth2ch
This commit is contained in:
parent
3ef29e246e
commit
da76ea18a8
@ -27,7 +27,7 @@ export default function Settings() {
|
|||||||
const fetchSettings = async () => {
|
const fetchSettings = async () => {
|
||||||
try {
|
try {
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
const response = await feth2ch('/api/users/settings');
|
const response = await fetch('/api/users/settings');
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
setSettings(data);
|
setSettings(data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user