need to check if the component is not undefined when using nested router without passing a component in props.
need to check if the component is not undefined when using nested router without passing a component in props.

logger-app/logger-app