Skip to content

Commit 969aab6

Browse files
committed
fix: 使用していないfunctionをコメントアウト
1 parent b9baec7 commit 969aab6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/components/Home.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React, { useEffect } from "react";
22
import { useSelector, useDispatch } from "react-redux";
33
import { makeStyles } from '@material-ui/core/styles';
4-
import { getAllFunneyRequest } from "../actions/Funney";
54
import { setPath } from "../actions/Path";
65

76
const useStyles = makeStyles({
@@ -38,17 +37,17 @@ const useStyles = makeStyles({
3837

3938
function 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}>

0 commit comments

Comments
 (0)