mshumayl / quran-gpt

AI Daleel source code.
https://aidaleel.shumayl.site
1 stars 0 forks source link

Prevent re-fetch on refocus #33

Open mshumayl opened 1 year ago

mshumayl commented 1 year ago

As incorrectly defined in #20, this needs to be fixed in order to avoid exorbitant amounts of network calls which could easily cost a significant financial cost.

Remove the re-fetch on re-focus configuration for tRPC.

mshumayl commented 1 year ago

A majority of the requests are for getQuota requests. This is also done every time the page comes into focus.

image