feat(app): lint & beautify

This commit is contained in:
ItzCrazyKns
2025-03-18 11:29:04 +05:30
parent 32f26bb4e8
commit ee6e197ec0
6 changed files with 66 additions and 66 deletions

View File

@ -187,16 +187,13 @@ const Page = () => {
[key]: value,
} as SettingsType;
const response = await fetch(
`/api/config`,
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify(updatedConfig),
const response = await fetch(`/api/config`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
);
body: JSON.stringify(updatedConfig),
});
if (!response.ok) {
throw new Error('Failed to update config');