We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86ced66 commit f4a063eCopy full SHA for f4a063e
src/core/View.tsx
@@ -19,7 +19,7 @@ export default forwardRef(function View(props: ViewProps, fwdRef) {
19
20
const multiViewRoot = useContext(MultiViewRootContext);
21
22
- const api = useMemo<IView | null>(() => {
+ const api = useMemo<IView>(() => {
23
const getView = () =>
24
multiViewRoot ? parentedViewRef.current : singleViewRef.current;
25
return {
0 commit comments