오늘의 오류
Warning: Error: Looks like you have nested a 'NavigationContainer' inside another. Normally you need only one container at the root of the app, so this was probably an error. If
this was intentional, pass 'independent={true}' explicitly. Note that this will make the child navigators disconnected from
the parent and you won't be able to navigate between them.
function App() {
return (
<Provider store={store}>
<NavigationContainer>
<AppInner /> // 얘안에도 NavigationContainer가 있다.
</NavigationContainer>
</Provider>
);
}
지워줬다. 강의 보고했는데 왜 이러지 ^_^ 다시확인 해봐야겠다.
function App() {
return (
<Provider store={store}>
<>
<AppInner /> // 얘안에도 NavigationContainer가 있다.
</>
</Provider>
);
}