Update toast hook & cleanup
This commit is contained in:
@@ -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" />
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user