import React from "react"; import {useDispatch, useSelector} from "react-redux"; import {AppDispatch, RootState} from "../store/store"; import SettingField from "../components/SettingFile"; import {updateSetting} from "../store/settingsSlice"; import Selection from "../../../src/methods/selection"; const SelectionFunction = () => { const dispatch = useDispatch(); const selectionFunction = useSelector((state: RootState) => state.settings.selectionFunction); const selectionFunctions = Object.keys(Selection); return ( ); }; export default SelectionFunction;