Conversation
2be3123 to
9aeae72
Compare
|
This pull request is automatically being deployed by Amplify Hosting (learn more). |
9aeae72 to
715970d
Compare
715970d to
7cb2945
Compare
ac4126f to
172d7c2
Compare
172d7c2 to
66e6bc3
Compare
66e6bc3 to
d347522
Compare
7913cc3 to
df7ca36
Compare
98aeda5 to
cf4f6a0
Compare
cf4f6a0 to
fa37d67
Compare
fa37d67 to
6f6f6c4
Compare
6f6f6c4 to
80ba876
Compare
80ba876 to
906c8b5
Compare
jalooc
left a comment
There was a problem hiding this comment.
Nice and clean - amazing 🏆 🎖️
2 notes wrt the comments I've left:
- some of them relate to multiple occurrences of the issue in question - for each issue I have left a comment only on one occurrence of them, so please make sure you find and address all,
- you were pushing like crazy during my review, so many of the files I commented on are outdated - I'm sure you'll manage to map the comments to the new code ;)
src/domains/misc/components/InteractiveSlider/utils/useOvershootLimitedSpringMotion.ts
Outdated
Show resolved
Hide resolved
| tokenDecimals: (tokenAddress: Address) => ['token-decimals', tokenAddress] as const, | ||
| tokenName: (tokenAddress: Address) => ['token-name', tokenAddress] as const, | ||
| tokenSymbol: (tokenAddress: Address) => ['token-symbol', tokenAddress] as const, | ||
| tokenDecimals: (tokenAddress: Address | 'native') => ['token-decimals', tokenAddress] as const, |
There was a problem hiding this comment.
In other apps we're doing null for native. I dislike using string | 'specific-string' because such a union always evaluate as just string, which makes the type less readable and easier to make a mistake.
But if it's too much work to change, then don't bother.
There was a problem hiding this comment.
Ill create ticket, it makes sense to use null.
| if (!walletAddress || !chainId) return; | ||
|
|
||
| console.error('Shielding failed:', error); | ||
| void queryClient.invalidateQueries({ |
There was a problem hiding this comment.
Invalidation on onError? Shouldn't this be onSuccess?
There was a problem hiding this comment.
Sometimes if it fails fee still can be taken, so I refetch native balance.
There was a problem hiding this comment.
Ouukay. Maybe leave a comment with that information then?
906c8b5 to
f9d9d8f
Compare
f9d9d8f to
7692cb9
Compare
7692cb9 to
54c5cb1
Compare
No description provided.