At this point, both routes are accessible, but what we want is to have the profile component to only be accessible if the user is logged in.
確定! 回上一頁