From 5d59bf348c63aae0a142fa494414dbdda6de3c50 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Sat, 28 May 2022 21:49:38 -0400 Subject: [PATCH] fix react --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 869d3b6..a92a3cb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,7 @@ "module": "ESNext", "target": "ES2020", "jsx": "react", - "jsxFactory": "SP_REACT.createElement", + "jsxFactory": "window.SP_REACT.createElement", "declaration": true, "moduleResolution": "node", "noUnusedLocals": true,