lint: remove unnecessary type assertion
This commit is contained in:
@@ -95,7 +95,7 @@ export function ZoomPane({
|
||||
},
|
||||
});
|
||||
|
||||
const { x, y, zoom } = panZoom.current!.getViewport();
|
||||
const { x, y, zoom } = panZoom.current.getViewport();
|
||||
|
||||
store.setState({
|
||||
panZoom: panZoom.current,
|
||||
|
||||
Reference in New Issue
Block a user