DarkFlorist / TheInterceptor

The Interceptor is a browser extension that explains what kind of Ethereum transactions you are making
The Unlicense
140 stars 22 forks source link

use signal here instead of usestate #1196

Open KillariDev opened 1 week ago

KillariDev commented 1 week ago
          Wouldn't be much to switch to signal as the entire component already is utilizing it already anyway
// const [isOpen, setIsOpen] = useState(false)
const dropdownOpen = useSignal(false)

_Originally posted by @jubalm in https://github.com/DarkFlorist/TheInterceptor/pull/1182#discussion_r1847740262_