Fix lot of eslint problems
This commit is contained in:
parent
5b9a0e6b34
commit
8b11c71384
17 changed files with 52 additions and 108 deletions
|
@ -26,6 +26,7 @@ export const ID = 'svg';
|
|||
|
||||
export function SVG(props: ISVGProps): JSX.Element {
|
||||
const [tool, setTool] = React.useState<Tool>(TOOL_PAN);
|
||||
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
|
||||
const [value, setValue] = React.useState<Value>({} as Value);
|
||||
const [scale, setScale] = React.useState<number>(value.a ?? 1);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue