I am trying to load my login form after the splash screen but it is giving an error as
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.
If LoginForm has a separate NavigationStack configured inside it this issue will occur, please try after removing it.