AppRouter っていうコンポーネントを App.tsx と同じ階層に作り、 そこに react-router 依存処理を書き出す。 App.tsx での react-router 関連のインポートが全部なくなるように