Format code
This commit is contained in:
@@ -17,16 +17,20 @@ const Wrapper = styled.div`
|
||||
}
|
||||
`;
|
||||
|
||||
|
||||
export function PaperGuideSelector({ setSettings, settings }: UseSettings) {
|
||||
return <Wrapper>
|
||||
{GRID.map((e, i) => <Button
|
||||
$active={e === settings.grid}
|
||||
key={i}
|
||||
onClick={() => {
|
||||
setSettings({ grid: e });
|
||||
}}
|
||||
>{e}
|
||||
</Button>)}
|
||||
</Wrapper>;
|
||||
return (
|
||||
<Wrapper>
|
||||
{GRID.map((e, i) => (
|
||||
<Button
|
||||
$active={e === settings.grid}
|
||||
key={i}
|
||||
onClick={() => {
|
||||
setSettings({ grid: e });
|
||||
}}
|
||||
>
|
||||
{e}
|
||||
</Button>
|
||||
))}
|
||||
</Wrapper>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user