feature/IO-1113-Online-Dark-Mode - Finish

This commit is contained in:
Dave Richer
2025-08-08 12:14:11 -04:00
parent ec6c0279de
commit 3b481afa9e
4 changed files with 8 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
import { useApolloClient, useMutation } from "@apollo/client";
import { useMutation } from "@apollo/client";
import { Form, Modal } from "antd";
import { useEffect } from "react";
import { useTranslation } from "react-i18next";
@@ -42,9 +42,7 @@ export function NoteUpsertModalContainer({ currentUser, noteUpsertModal, toggleM
const { refetch } = actions;
const [form] = Form.useForm();
const { client } = useApolloClient();
useEffect(() => {
//Required to prevent infinite looping.
if (existingNote && open) {