diff --git a/packages/hooks/src/useExternal/demo/demo1.tsx b/packages/hooks/src/useExternal/demo/demo1.tsx
index 4cf786bfb4..614a35fcc9 100644
--- a/packages/hooks/src/useExternal/demo/demo1.tsx
+++ b/packages/hooks/src/useExternal/demo/demo1.tsx
@@ -20,12 +20,16 @@ export default () => {
Status: {status}
- Response: {status === 'ready' ? TEST_SCRIPT.start() : '-'}
+ Response: {status === 'ready' ? TEST_SCRIPT?.start() : '-'}
-