Commit 2108ceed authored by Zach Pomerantz's avatar Zach Pomerantz Committed by GitHub

chore: reduce token list block period (#3353)

parent ad080470
...@@ -55,7 +55,7 @@ export function TokenSelectDialog({ value, onSelect }: TokenSelectDialogProps) { ...@@ -55,7 +55,7 @@ export function TokenSelectDialog({ value, onSelect }: TokenSelectDialogProps) {
// Give the balance-less tokens a small block period to avoid layout thrashing from re-sorting. // Give the balance-less tokens a small block period to avoid layout thrashing from re-sorting.
useEffect(() => { useEffect(() => {
if (!isLoaded) { if (!isLoaded) {
const timeout = setTimeout(() => setIsLoaded(true), 1500) const timeout = setTimeout(() => setIsLoaded(true), 250)
return () => clearTimeout(timeout) return () => clearTimeout(timeout)
} }
return return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment