diff --git a/src/Components/EditTransactionModal/EditTransactionModal.tsx b/src/Components/EditTransactionModal/EditTransactionModal.tsx index 2ec33ab..f24cf3d 100644 --- a/src/Components/EditTransactionModal/EditTransactionModal.tsx +++ b/src/Components/EditTransactionModal/EditTransactionModal.tsx @@ -42,6 +42,9 @@ export default function EditTransactionModal(props: { queryClient.invalidateQueries({ queryKey: ["transactions"], }); + queryClient.invalidateQueries({ + queryKey: ["transactions_teacher"], + }); queryClient.invalidateQueries({ queryKey: ["transactions", props.id], });