Added more cache checks.

This commit is contained in:
Mike Cao 2023-10-08 00:15:29 -07:00
parent ef9f8ed816
commit 83fb358355
9 changed files with 22 additions and 18 deletions

View file

@ -21,7 +21,7 @@ export function TeamJoinForm({ onSave, onClose }) {
const handleSubmit = async data => {
mutate(data, {
onSuccess: async () => {
setValue('teams', Date.now());
setValue('teams:members', Date.now());
onSave?.();
onClose?.();
},