Commit e9674a00 authored by Marek Veselý's avatar Marek Veselý
Browse files

use the default fetch policy

parent cdcdaf23
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -55,14 +55,12 @@ const EmailTemplates: FC<EmailTemplatesProps> = ({
      exerciseId: exerciseId || '-1',
      emailAddresses: emailAddresses || [],
    },
    fetchPolicy: 'network-only',
  })
  const { data: existingThreadData } = useGetThreadTemplates({
    skip: threadId === undefined,
    variables: {
      threadId: threadId || '-1',
    },
    fetchPolicy: 'network-only',
  })

  const templates = (