fix(booktable): memoized swap/fiat columns

This commit is contained in:
Reckless_Satoshi 2023-08-01 05:26:10 -07:00
parent 0c8f7ee65a
commit 0c37767d68
No known key found for this signature in database
GPG Key ID: 9C4585B561315571

View File

@ -627,7 +627,7 @@ const BookTable = ({
},
},
};
}, []);
}, [fav.mode]);
const filteredColumns = function (maxWidth: number) {
const useSmall = maxWidth < 70;