diff --git a/client/src/components/HomePage/MaxViewPostField/EmojiMart.tsx b/client/src/components/HomePage/MaxViewPostField/EmojiMart.tsx index 50f8a0f..35e88a3 100644 --- a/client/src/components/HomePage/MaxViewPostField/EmojiMart.tsx +++ b/client/src/components/HomePage/MaxViewPostField/EmojiMart.tsx @@ -1,6 +1,5 @@ import React from "react"; import { useDispatch, useSelector } from "react-redux"; -// import { homePageUserPostFieldDataAction } from "../../../services/redux-actions"; import { Picker } from "emoji-mart"; import { bindActionCreators } from "redux"; import { AppState, actionCreators } from "../../../services/redux"; diff --git a/client/src/components/HomePage/MaxViewPostField/FilePicker.tsx b/client/src/components/HomePage/MaxViewPostField/FilePicker.tsx index fe09a2b..9216bee 100644 --- a/client/src/components/HomePage/MaxViewPostField/FilePicker.tsx +++ b/client/src/components/HomePage/MaxViewPostField/FilePicker.tsx @@ -1,9 +1,5 @@ import React, { useEffect } from "react"; import { useDispatch, useSelector } from "react-redux"; -// import { -// homePageUserPostFieldDataAction, -// displayUserPostFieldEmojiPicker, -// } from "../../../services/redux-actions"; import { Icon } from "@iconify/react"; import { toastInfo } from "../../../services/toast"; import { bindActionCreators } from "redux"; diff --git a/client/src/components/HomePage/MaxViewPostField/InputField.tsx b/client/src/components/HomePage/MaxViewPostField/InputField.tsx index b0ef7a7..e4d7f82 100644 --- a/client/src/components/HomePage/MaxViewPostField/InputField.tsx +++ b/client/src/components/HomePage/MaxViewPostField/InputField.tsx @@ -1,5 +1,4 @@ import React from "react"; -// import { homePageUserPostFieldDataAction } from "../../../services/redux-actions"; import { useDispatch, useSelector } from "react-redux"; import { bindActionCreators } from "redux"; import { AppState, actionCreators } from "../../../services/redux"; diff --git a/client/src/components/HomePage/MaxViewPostField/MaxViewPostField.tsx b/client/src/components/HomePage/MaxViewPostField/MaxViewPostField.tsx index f66d4bf..050f932 100644 --- a/client/src/components/HomePage/MaxViewPostField/MaxViewPostField.tsx +++ b/client/src/components/HomePage/MaxViewPostField/MaxViewPostField.tsx @@ -1,10 +1,6 @@ import React from "react"; import { useHistory } from "react-router-dom"; -import { useDispatch, useSelector } from "react-redux"; -// import { -// profilePageDataAction, -// setRootUserProfileDataState, -// } from "../../../services/redux-actions"; +import { useSelector } from "react-redux"; import User_Profile_Icon from "../../../assets/svg/User_profile_Icon.svg"; import FilePicker from "./FilePicker"; import EmojiMart from "./EmojiMart"; diff --git a/client/src/components/HomePage/MaxViewPostField/PostButton.tsx b/client/src/components/HomePage/MaxViewPostField/PostButton.tsx index 3269532..daec055 100644 --- a/client/src/components/HomePage/MaxViewPostField/PostButton.tsx +++ b/client/src/components/HomePage/MaxViewPostField/PostButton.tsx @@ -1,11 +1,5 @@ import React from "react"; import { useDispatch, useSelector } from "react-redux"; -// import { -// userPostResponseData, -// homePageUserPostFieldDataAction, -// showLoadingSpinner, -// setHomePagePostFieldViewValue, -// } from "../../../services/redux-actions"; import { Icon } from "@iconify/react"; import Api from "../../../services/api/pages/homeApi"; import { toastError, toastSuccess } from "../../../services/toast"; diff --git a/client/src/components/HomePage/MinViewPostField.tsx b/client/src/components/HomePage/MinViewPostField.tsx index 860b516..aeb9e9c 100644 --- a/client/src/components/HomePage/MinViewPostField.tsx +++ b/client/src/components/HomePage/MinViewPostField.tsx @@ -3,11 +3,6 @@ import { Helmet } from "react-helmet"; import User_Profile_Icon from "../../assets/svg/User_profile_Icon.svg"; import { useSelector, useDispatch } from "react-redux"; import { useHistory } from "react-router-dom"; -// import { -// setHomePagePostFieldViewValue, -// profilePageDataAction, -// setRootUserProfileDataState, -// } from "../../services/redux-actions"; import constant from "../../constant/constant"; import { bindActionCreators } from "redux"; import { AppState, actionCreators } from "../../services/redux"; diff --git a/client/src/components/MainPageStoryComp/AddStory.tsx b/client/src/components/MainPageStoryComp/AddStory.tsx index 27509a4..d0a7225 100644 --- a/client/src/components/MainPageStoryComp/AddStory.tsx +++ b/client/src/components/MainPageStoryComp/AddStory.tsx @@ -1,7 +1,6 @@ import React from "react"; import { Icon } from "@iconify/react"; import User_Profile_Icon from "../../assets/svg/User_profile_Icon.svg"; -// import { setHomePagePostFieldViewValue } from "../../services/redux-actions"; import { useDispatch, useSelector } from "react-redux"; import { useHistory } from "react-router-dom"; import { AppState, actionCreators } from "../../services/redux"; diff --git a/client/src/components/MainPageStoryComp/FriendStory.tsx b/client/src/components/MainPageStoryComp/FriendStory.tsx index 1732cb2..6e93668 100644 --- a/client/src/components/MainPageStoryComp/FriendStory.tsx +++ b/client/src/components/MainPageStoryComp/FriendStory.tsx @@ -1,6 +1,5 @@ import React from "react"; import User_Profile_Icon from "../../assets/svg/User_profile_Icon.svg"; -// import { storyIndex } from "../../services/redux-actions"; import { useHistory } from "react-router-dom"; import { useDispatch } from "react-redux"; import { bindActionCreators } from "redux"; diff --git a/client/src/components/ProfilePage/UserInfo.tsx b/client/src/components/ProfilePage/UserInfo.tsx index fe0da4a..2737927 100644 --- a/client/src/components/ProfilePage/UserInfo.tsx +++ b/client/src/components/ProfilePage/UserInfo.tsx @@ -2,14 +2,6 @@ import React from "react"; import User_Profile_Icon from "../../assets/svg/User_profile_Icon.svg"; import { useSelector, useDispatch } from "react-redux"; import { Icon } from "@iconify/react"; -// import { -// mainPageMessageViewOnOff, -// mainPageMessageInnerViewOnOff, -// currentUserMessageAction, -// startProgressBar, -// stopProgressBar, -// profilePageDataAction, -// } from "../../services/redux-actions"; import { instance as axios } from "../../services/axios"; import { toastError } from "../../services/toast"; import { useHistory } from "react-router-dom"; diff --git a/client/src/components/ProfilePage/UserPosts.tsx b/client/src/components/ProfilePage/UserPosts.tsx index 9a9a60b..9f0fddd 100644 --- a/client/src/components/ProfilePage/UserPosts.tsx +++ b/client/src/components/ProfilePage/UserPosts.tsx @@ -3,11 +3,6 @@ import PostBox from "../PostBox/PostBox"; import { useSelector, useDispatch } from "react-redux"; import profileApi from "../../services/api/pages/profileApi"; import { toastError } from "../../services/toast"; -// import { -// setRootUserProfileDataState, -// setRootUserPostData, -// profilePageDataAction, -// } from "../../services/redux-actions"; import { bindActionCreators } from "redux"; import { AppState, actionCreators } from "../../services/redux"; import { AxiosError } from "axios";