Update eslint to 8.27.0
This commit is contained in:
parent
c8fb43a846
commit
98ef4c627a
499 changed files with 8995 additions and 8494 deletions
|
@ -16,19 +16,19 @@ export default {
|
|||
title: 'Components/InstallScreen/InstallScreenChoosingDeviceNameStep',
|
||||
};
|
||||
|
||||
export const Default = (): JSX.Element => {
|
||||
const Wrapper = () => {
|
||||
const [deviceName, setDeviceName] = useState<string>('Default value');
|
||||
function Wrapper() {
|
||||
const [deviceName, setDeviceName] = useState<string>('Default value');
|
||||
|
||||
return (
|
||||
<InstallScreenChoosingDeviceNameStep
|
||||
i18n={i18n}
|
||||
deviceName={deviceName}
|
||||
setDeviceName={setDeviceName}
|
||||
onSubmit={action('onSubmit')}
|
||||
/>
|
||||
);
|
||||
};
|
||||
return (
|
||||
<InstallScreenChoosingDeviceNameStep
|
||||
i18n={i18n}
|
||||
deviceName={deviceName}
|
||||
setDeviceName={setDeviceName}
|
||||
onSubmit={action('onSubmit')}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
export function Default(): JSX.Element {
|
||||
return <Wrapper />;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue