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