mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 04:01:05 +08:00
Remove duplicate check
This commit is contained in:
parent
0b111bbe62
commit
64e57efd1f
@ -130,7 +130,7 @@ export const ViewportTool: FunctionComponent = memo(
|
|||||||
disable,
|
disable,
|
||||||
} = useParameter<ViewportAddonParameter>(PARAM_KEY, {});
|
} = useParameter<ViewportAddonParameter>(PARAM_KEY, {});
|
||||||
const [state, setState] = useAddonState<ViewportToolState>(ADDON_ID, {
|
const [state, setState] = useAddonState<ViewportToolState>(ADDON_ID, {
|
||||||
selected: defaultViewport || responsiveViewport.id,
|
selected: defaultViewport,
|
||||||
isRotated: false,
|
isRotated: false,
|
||||||
});
|
});
|
||||||
const list = toList(viewports);
|
const list = toList(viewports);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user