Rengo-Labs / uniswap-casper-interface

Interface Website for Casperswap
https://casperswap.com
Other
0 stars 0 forks source link

Added a way to show the loader on all the pages using a context and a… #208

Closed sbarcelona11 closed 1 year ago

sbarcelona11 commented 1 year ago

… custom hook

vercel[bot] commented 1 year ago

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

Name Status Preview Comments Updated (UTC)
casperswap-testnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 10, 2023 6:53pm
ioni-dev commented 1 year ago

It could be possible to implement the loading logic inside the layout component, specifically on the ChildrenContainer I believe, reacting to the route changes with a hook from react-router. that way we could do it from one file only.

Let me know what do you think?