Fix ref not defined

This commit is contained in:
Lim Chee Aun 2023-09-14 23:23:22 +08:00
parent 0b5693ae27
commit 6db40d7d3e

View file

@ -19,7 +19,6 @@ function AccountSheet({ account, instance: propInstance, onClose }) {
return (
<div
ref={escRef}
class="sheet"
onClick={(e) => {
const accountBlock = e.target.closest('.account-block');