delete logs and fix hydration error

This commit is contained in:
YasinOnm08 2024-10-11 10:46:05 +02:00
parent 4ed2756b9a
commit 891dabcabf
10 changed files with 37 additions and 70 deletions

View file

@ -18,7 +18,6 @@ export const getWeather = async (data: object): Promise<string> => {
// Send the status and success response back to the worker
postMessage({ status, success });
console.log(JSON.stringify(success)); // Log the successful response for debugging
return JSON.stringify(success); // Return the weather data as a JSON string
} catch (error) {
// Handle any errors that occur during the request