fix bug with setup page (#5068)

Co-authored-by: CarinaWolli <wollencarina@gmail.com>
pull/5047/head^2
Carina Wollendorfer 2022-10-18 14:00:42 +02:00 committed by GitHub
parent 59ef4fe459
commit 431e4224fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ export default function ZapierSetup(props: IZapierSetupProps) {
const [newApiKey, setNewApiKey] = useState("");
const { t } = useLocale();
const utils = trpc.useContext();
const integrations = trpc.useQuery(["viewer.integrations", { variant: "other" }]);
const integrations = trpc.useQuery(["viewer.integrations", { variant: "automation" }]);
const oldApiKey = trpc.useQuery(["viewer.apiKeys.findKeyOfType", { appId: ZAPIER }]);
const deleteApiKey = trpc.useMutation("viewer.apiKeys.delete");