From f430f6724267a3e3bddfa5c615deea7563c63a91 Mon Sep 17 00:00:00 2001 From: Nouman Tahir Date: Wed, 19 Oct 2022 17:52:06 +0500 Subject: [PATCH] removed duplicate imports --- src/components/basicUIElements/view/tag/tagContainer.js | 1 - src/components/comments/container/commentsContainer.js | 1 - src/components/header/container/headerContainer.js | 1 - src/components/parentPost/view/parentPostView.js | 1 - src/components/postCard/container/postCardContainer.js | 2 +- src/components/searchModal/container/searchModalContainer.js | 1 - 6 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/components/basicUIElements/view/tag/tagContainer.js b/src/components/basicUIElements/view/tag/tagContainer.js index eb0ce5f64..537ecc812 100644 --- a/src/components/basicUIElements/view/tag/tagContainer.js +++ b/src/components/basicUIElements/view/tag/tagContainer.js @@ -12,7 +12,6 @@ import ROUTES from '../../../../constants/routeNames'; // Component import TagView from './tagView'; -import { useNavigation } from '@react-navigation/native'; /* * Props Name Description Value diff --git a/src/components/comments/container/commentsContainer.js b/src/components/comments/container/commentsContainer.js index 8b7745523..7e5465798 100644 --- a/src/components/comments/container/commentsContainer.js +++ b/src/components/comments/container/commentsContainer.js @@ -21,7 +21,6 @@ import CommentsView from '../view/commentsView'; import { useAppSelector } from '../../../hooks'; import { updateCommentCache } from '../../../redux/actions/cacheActions'; import { CommentCacheStatus } from '../../../redux/reducers/cacheReducer'; -import { useNavigation } from '@react-navigation/native'; const CommentsContainer = ({ author, diff --git a/src/components/header/container/headerContainer.js b/src/components/header/container/headerContainer.js index d41c5b9d8..05be83763 100644 --- a/src/components/header/container/headerContainer.js +++ b/src/components/header/container/headerContainer.js @@ -10,7 +10,6 @@ import HeaderView from '../view/headerView'; import { AccountContainer, ThemeContainer } from '../../../containers'; import { parseReputation } from '../../../utils/user'; import { toggleQRModal } from '../../../redux/actions/uiAction'; -import { useNavigation } from '@react-navigation/native'; const HeaderContainer = ({ selectedUser, diff --git a/src/components/parentPost/view/parentPostView.js b/src/components/parentPost/view/parentPostView.js index cf4f566be..ced82e189 100644 --- a/src/components/parentPost/view/parentPostView.js +++ b/src/components/parentPost/view/parentPostView.js @@ -5,7 +5,6 @@ import { useNavigation } from '@react-navigation/native'; import { default as ROUTES } from '../../../constants/routeNames'; import styles from './parentPostStyles'; -import { useNavigation } from '@react-navigation/native'; const ParentPost = ({ post }) => { const navigation = useNavigation(); diff --git a/src/components/postCard/container/postCardContainer.js b/src/components/postCard/container/postCardContainer.js index 435f4ff21..a95f9ed52 100644 --- a/src/components/postCard/container/postCardContainer.js +++ b/src/components/postCard/container/postCardContainer.js @@ -13,7 +13,7 @@ import PostCardView from '../view/postCardView'; import { default as ROUTES } from '../../../constants/routeNames'; import { useAppDispatch } from '../../../hooks'; import { showProfileModal } from '../../../redux/actions/uiAction'; -import { useNavigation } from '@react-navigation/native'; + /* * Props Name Description Value *@props --> props name here description here Value Type Here diff --git a/src/components/searchModal/container/searchModalContainer.js b/src/components/searchModal/container/searchModalContainer.js index e1eee9111..0c9a960d8 100644 --- a/src/components/searchModal/container/searchModalContainer.js +++ b/src/components/searchModal/container/searchModalContainer.js @@ -16,7 +16,6 @@ import postUrlParser from '../../../utils/postUrlParser'; // Component import SearchModalView from '../view/searchModalView'; -import { useNavigation } from '@react-navigation/native'; /* * Props name Description Value