forked from React-Group/interstellar_ai
delete logs and fix hydration error
This commit is contained in:
parent
4ed2756b9a
commit
891dabcabf
10 changed files with 37 additions and 70 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue