mirror of
https://github.com/rustmailer/rustmailer.git
synced 2026-08-25 00:00:43 +00:00
Update oauth2-tokens.tsx
This commit is contained in:
@@ -40,6 +40,7 @@ export function OAuth2TokensDialog({ currentRow, open, onOpenChange }: Props) {
|
||||
const { data: oauth2Tokens, isLoading } = useQuery({
|
||||
queryKey: ['oauth2-tokens', currentRow.id],
|
||||
queryFn: () => get_oauth2_tokens(currentRow.id),
|
||||
enabled: open && !!currentRow.id,
|
||||
retry: 0,
|
||||
refetchOnWindowFocus: false,
|
||||
refetchOnMount: false,
|
||||
|
||||
Reference in New Issue
Block a user