fix bug with setup page (#5068)

Co-authored-by: CarinaWolli <wollencarina@gmail.com>
This commit is contained in:
Carina WollendorferandCarinaWolli authored and GitHub committed 2022-10-18 12:00:42 +00:00
1 parent 59ef4fe459
commit 431e4224fe
1 file changed
+1 -1
@@ -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");