Update toast hook & cleanup

This commit is contained in:
Sacha Weatherstone
2023-07-09 17:18:33 +10:00
parent 4d9efb940c
commit a988acd992
11 changed files with 21 additions and 22 deletions
+5 -1
View File
@@ -11,7 +11,11 @@ export const DeviceSelectorButton = ({
onClick,
children,
}: DeviceSelectorButtonProps): JSX.Element => (
<li className="aspect-w-1 aspect-h-1 relative w-full" onClick={onClick}>
<li
className="aspect-w-1 aspect-h-1 relative w-full"
onClick={onClick}
onKeyDown={onClick}
>
{active && (
<div className="absolute -left-2 h-10 w-1.5 rounded-full bg-accent" />
)}