change method name
This commit is contained in:
@@ -77,7 +77,7 @@ function NameInput(props) {
|
|||||||
|
|
||||||
function SettingSelect(props) {
|
function SettingSelect(props) {
|
||||||
const classes = useStyles();
|
const classes = useStyles();
|
||||||
const [setting, updateSetting] = useState("");
|
const [setting, setSetting] = useState("");
|
||||||
|
|
||||||
useEffect(
|
useEffect(
|
||||||
{
|
{
|
||||||
@@ -87,7 +87,7 @@ function SettingSelect(props) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
const handleChange = (e) => {
|
const handleChange = (e) => {
|
||||||
updateSetting(e.target.value);
|
setSetting(e.target.value);
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user