diff --git a/.babelrc b/.babelrc
index 7bb5482ce..48f19b72b 100644
--- a/.babelrc
+++ b/.babelrc
@@ -4,8 +4,8 @@
[
"@babel/transform-react-jsx",
{
- "pragma": "Preact.h",
- "pragmaFrag": "Preact.Fragment"
+ "runtime": "automatic",
+ "importSource": "preact"
}
]
]
diff --git a/cypress/e2e/surveys.cy.ts b/cypress/e2e/surveys.cy.ts
index 24bb76955..7544dfb14 100644
--- a/cypress/e2e/surveys.cy.ts
+++ b/cypress/e2e/surveys.cy.ts
@@ -1,5 +1,6 @@
///