diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2025-07-31 11:02:58 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2025-07-31 11:02:58 +0000 |
| commit | 4cf94e241af5f95f567aac952dd990852026d23f (patch) | |
| tree | 5c519ac632391b34e1cc2bb31d011be37bb2d779 /src/core/components/layouts | |
| parent | dc31efb2fec4c7b79917324d922ae820c4b5bb50 (diff) | |
| parent | 04961a55929017f77ee6801d2b7ada4c05689821 (diff) | |
Merged in cr/repeat-order (pull request #430)
Cr/repeat order
Diffstat (limited to 'src/core/components/layouts')
| -rw-r--r-- | src/core/components/layouts/BasicLayout.jsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/components/layouts/BasicLayout.jsx b/src/core/components/layouts/BasicLayout.jsx index 2998fa63..81f8b41f 100644 --- a/src/core/components/layouts/BasicLayout.jsx +++ b/src/core/components/layouts/BasicLayout.jsx @@ -54,6 +54,8 @@ const BasicLayout = ({ children }) => { useEffect(() => { const handleMouseOut = (event) => { + + if (!buttonRef.current) return; const rect = buttonRef.current.getBoundingClientRect(); if (event.clientY <= 0) { setButtonPosition(rect); |
