mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 20:21:35 +00:00
Fix payment methods as icons memo
This commit is contained in:
parent
e878299ae8
commit
db5548ecca
@ -79,7 +79,7 @@ const BookTable = ({
|
||||
// all sizes in 'em'
|
||||
const [fontSize, defaultPageSize, height] = useMemo(() => {
|
||||
const fontSize = theme.typography.fontSize;
|
||||
const verticalHeightFrame = 3.25 + (showControls ? 3.7 : 0) + (showFooter ? 2.35 : 0);
|
||||
const verticalHeightFrame = 3.25 + (showControls ? 3.7 : 0.35) + (showFooter ? 2.35 : 0);
|
||||
const verticalHeightRow = 3.25;
|
||||
const defaultPageSize = Math.max(
|
||||
Math.floor(
|
||||
|
@ -89,7 +89,7 @@ const StringAsIcons: React.FC = ({ othersText, verbose, size, text }: Props) =>
|
||||
} else {
|
||||
return rows;
|
||||
}
|
||||
}, []);
|
||||
}, [text]);
|
||||
|
||||
return (
|
||||
<div style={{ display: 'flex', alignItems: 'center', flexWrap: 'wrap' }}>{parsedText}</div>
|
||||
|
Loading…
Reference in New Issue
Block a user