File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 11import React , { useEffect } from "react" ;
22import { useSelector , useDispatch } from "react-redux" ;
33import { makeStyles } from '@material-ui/core/styles' ;
4- import { getAllFunneyRequest } from "../actions/Funney" ;
54import { setPath } from "../actions/Path" ;
65
76const useStyles = makeStyles ( {
@@ -38,17 +37,17 @@ const useStyles = makeStyles({
3837
3938function Home ( ) {
4039 const classes = useStyles ( ) ;
41- const { id } = useSelector ( state => state . signInReducer ) ;
40+ // const { id } = useSelector(state => state.signInReducer);
4241 const { funney } = useSelector ( state => state . funneyReducer ) ;
4342 const dispatch = useDispatch ( ) ;
4443 useEffect ( ( ) => {
4544 dispatch ( setPath ( 'Home' ) )
4645 } ) ;
4746
4847 // HomePageでリロードとかするかなって思って作ったけど、今回は実装してない
49- function getAllFunney ( ) {
50- dispatch ( getAllFunneyRequest ( id ) ) ;
51- }
48+ // function getAllFunney() {
49+ // dispatch(getAllFunneyRequest(id));
50+ // }
5251
5352 return (
5453 < div className = { classes . o_Home } >
You can’t perform that action at this time.
0 commit comments