Jackie Makhija commited on
Commit
eccc228
·
1 Parent(s): 0a356f1

Use global React instead of module import for Space UI

Browse files
Files changed (1) hide show
  1. unity-catalog-chatbot.jsx +1 -1
unity-catalog-chatbot.jsx CHANGED
@@ -1,4 +1,4 @@
1
- import React, { useState, useRef, useEffect } from 'react';
2
 
3
  // Lightweight icon shims to avoid external module imports in the browser-only build
4
  const Send = () => <span role="img" aria-label="send">📤</span>;
 
1
+ const { useState, useRef, useEffect } = React;
2
 
3
  // Lightweight icon shims to avoid external module imports in the browser-only build
4
  const Send = () => <span role="img" aria-label="send">📤</span>;