mirror of
				https://github.com/ItzCrazyKns/Perplexica.git
				synced 2025-10-31 19:38:13 +00:00 
			
		
		
		
	feat(app): lint & beautify
This commit is contained in:
		| @@ -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'); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user