whoiskatrin / sql-translator

SQL Translator is a tool for converting natural language queries into SQL code using artificial intelligence. This project is 100% free and open source.
https://www.sqltranslate.app/
MIT License
4.19k stars 358 forks source link

fetch in custom hook #11

Closed difagume closed 1 year ago

difagume commented 1 year ago

Hi Katrin, I extracted the fetch logic to a hook and display the error messages via the toaster.

I leave it for your consideration in case you see that the index looks a bit cleaner.

111

vercel[bot] commented 1 year ago

Someone is attempting to deploy a commit to a Personal Account owned by @whoiskatrin on Vercel.

@whoiskatrin first needs to authorize it.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
sql-translator ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 14, 2023 at 2:10PM (UTC)