Skip to content

Commit

Permalink
fix: NotificationsRoute causing error (#3326)
Browse files Browse the repository at this point in the history
  • Loading branch information
smolpaw authored Aug 22, 2022
1 parent 1c72d1d commit 6ff9a20
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/BottomNavigation/BottomNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,8 @@ const SceneComponent = React.memo(({ component, ...rest }: any) =>
*
* const RecentsRoute = () => <Text>Recents</Text>;
*
* const NotificationsRoute = () => <Text>Notifications</Text>;
*
* const MyComponent = () => {
* const [index, setIndex] = React.useState(0);
* const [routes] = React.useState([
Expand All @@ -336,6 +338,7 @@ const SceneComponent = React.memo(({ component, ...rest }: any) =>
* music: MusicRoute,
* albums: AlbumsRoute,
* recents: RecentsRoute,
* notifications: NotificationsRoute,
* });
*
* return (
Expand Down

0 comments on commit 6ff9a20

Please sign in to comment.