@d1vij/jassm 0.1.16 → 0.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -314,10 +314,11 @@ function getTableJsonAsMarkdown(json) {
|
|
|
314
314
|
function Table(props) {
|
|
315
315
|
const styles = useStyles();
|
|
316
316
|
const ref = useRef2(null);
|
|
317
|
+
const detailsRef = useRef2(null);
|
|
317
318
|
const [open, setOpen] = useState3(false);
|
|
318
319
|
const { copy } = useClipboardText2();
|
|
319
320
|
useEffect2(() => {
|
|
320
|
-
const elm =
|
|
321
|
+
const elm = detailsRef.current;
|
|
321
322
|
if (!elm)
|
|
322
323
|
return;
|
|
323
324
|
function handleMouseLeave() {
|
|
@@ -368,6 +369,7 @@ function Table(props) {
|
|
|
368
369
|
children: props.children
|
|
369
370
|
}),
|
|
370
371
|
/* @__PURE__ */ jsxs("details", {
|
|
372
|
+
ref: detailsRef,
|
|
371
373
|
className: cn13(styles.table_action_buttons_details),
|
|
372
374
|
open,
|
|
373
375
|
children: [
|
package/package.json
CHANGED