From e264d9754cc0ebbdd8f49994872a85031459d436 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Sat, 28 May 2022 21:50:24 -0400 Subject: [PATCH] actually fix react --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index d4de0f6..13b0c35 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,6 +4,7 @@ "module": "ESNext", "target": "ES2020", "jsx": "react", + "jsxFactory": "window.SP_REACT.createElement", "declaration": false, "moduleResolution": "node", "noUnusedLocals": true,