Alpha 3 cleanup (#857)

This commit is contained in:
Carlos Valente
2024-03-28 13:35:36 +01:00
committed by GitHub
parent ce14aabcd7
commit df8b76305e
15 changed files with 167 additions and 173 deletions
@@ -54,7 +54,7 @@ function ProductionNavigationMenu({ handleSettings }: ProductionNavigationMenuPr
<hr className={style.separator} />
<Link
to='/editor'
className={`${style.link} ${'/editor' === location.pathname ? style.current : ''}`}
className={`${style.link} ${location.pathname === '/editor' ? style.current : ''}`}
tabIndex={0}
>
Editor
@@ -62,13 +62,13 @@ function ProductionNavigationMenu({ handleSettings }: ProductionNavigationMenuPr
</Link>
<Link
to='/cuesheet'
className={`${style.link} ${'/cuesheet' === location.pathname ? style.current : ''}`}
className={`${style.link} ${location.pathname === '/cuesheet' ? style.current : ''}`}
tabIndex={0}
>
Cuesheet
<IoArrowUp className={style.linkIcon} />
</Link>
<Link to='/op' className={`${style.link} ${'/op' === location.pathname ? style.current : ''}`} tabIndex={0}>
<Link to='/op' className={`${style.link} ${location.pathname === '/op' ? style.current : ''}`} tabIndex={0}>
Operator
<IoArrowUp className={style.linkIcon} />
</Link>
@@ -141,14 +141,13 @@ export default function ImportMapForm(props: ImportMapFormProps) {
size='sm'
{...register(label as keyof NamedImportMap)}
>
{worksheetNames &&
worksheetNames.map((name) => {
return (
<option key={name} value={name}>
{name}
</option>
);
})}
{worksheetNames?.map((name) => {
return (
<option key={name} value={name}>
{name}
</option>
);
})}
</Select>
</td>
<td className={style.singleActionCell} />