Skip to content
Extraits de code Groupes Projets
Valider b5d4b922 rédigé par Maverick Chardet's avatar Maverick Chardet
Parcourir les fichiers

Fixed API of notifyIsDirty

parent 31dfc0e5
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
import { useAppDispatch } from "../../app/hooks";
import { setIsPlayerDirty, setSaveState } from "./activityDataSlice";
const useNotifyIsDirty = (isDirty: boolean = true) => {
const useNotifyIsDirty = () => {
const dispatch = useAppDispatch();
return () => dispatch(setIsPlayerDirty(isDirty));
return (isDirty: boolean = true) => dispatch(setIsPlayerDirty(isDirty));
};
const useSave = () => {
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter