mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-19 04:31: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'
|
// all sizes in 'em'
|
||||||
const [fontSize, defaultPageSize, height] = useMemo(() => {
|
const [fontSize, defaultPageSize, height] = useMemo(() => {
|
||||||
const fontSize = theme.typography.fontSize;
|
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 verticalHeightRow = 3.25;
|
||||||
const defaultPageSize = Math.max(
|
const defaultPageSize = Math.max(
|
||||||
Math.floor(
|
Math.floor(
|
||||||
|
@ -89,7 +89,7 @@ const StringAsIcons: React.FC = ({ othersText, verbose, size, text }: Props) =>
|
|||||||
} else {
|
} else {
|
||||||
return rows;
|
return rows;
|
||||||
}
|
}
|
||||||
}, []);
|
}, [text]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div style={{ display: 'flex', alignItems: 'center', flexWrap: 'wrap' }}>{parsedText}</div>
|
<div style={{ display: 'flex', alignItems: 'center', flexWrap: 'wrap' }}>{parsedText}</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user