mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-05-26 23:26:15 +00:00
Run prettier on all files
This commit is contained in:
@@ -156,7 +156,10 @@ function getStrippedSvg() {
|
||||
|
||||
function getSvgDimensions() {
|
||||
const svg = document.getElementById('chartSvg')!;
|
||||
return { width: Number(svg.getAttribute('width')), height: Number(svg.getAttribute('height')) };
|
||||
return {
|
||||
width: Number(svg.getAttribute('width')),
|
||||
height: Number(svg.getAttribute('height')),
|
||||
};
|
||||
}
|
||||
|
||||
function getSvgContents() {
|
||||
|
||||
@@ -37,7 +37,13 @@ export function SidePanel({
|
||||
id: 'tab.settings',
|
||||
defaultMessage: 'Settings',
|
||||
}),
|
||||
render: () => <ConfigPanel gedcom={data.gedcom} config={config} onChange={onConfigChange} />,
|
||||
render: () => (
|
||||
<ConfigPanel
|
||||
gedcom={data.gedcom}
|
||||
config={config}
|
||||
onChange={onConfigChange}
|
||||
/>
|
||||
),
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user