refactor(fitView): use same fitView function for viewport helper and initial prop
This commit is contained in:
@@ -63,7 +63,7 @@ const BasicFlow = () => {
|
||||
defaultZoom={1.5}
|
||||
minZoom={0.2}
|
||||
maxZoom={4}
|
||||
fitViewOnInit
|
||||
fitView
|
||||
>
|
||||
<Background variant={BackgroundVariant.Lines} />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user