Fix drive light state

This commit is contained in:
Will Scullin 2022-06-04 11:38:59 -07:00
parent c39d5804f6
commit 9628b437b1
No known key found for this signature in database
GPG Key ID: 26DCD1042C6638CD
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ export const DiskII = ({ disk2, number, on, name, side }: DiskIIProps) => {
<div className={styles.disk}>
<FileModal disk2={disk2} number={number} onClose={doClose} isOpen={modalOpen} />
<ErrorModal error={error} setError={setError} />
<div className={cs(styles.diskLight, { on })} />
<div className={cs(styles.diskLight, { [styles.on]: on })} />
<button title="Load Disk">
<i className="fas fa-folder-open" onClick={onOpenModal} />
</button>