chore: fix lint warnings (#385)

This commit is contained in:
Samuel Gunter
2024-10-22 21:47:35 -05:00
committed by GitHub
parent 643ea13207
commit eb306787ae
9 changed files with 19 additions and 15 deletions

View File

@@ -15,7 +15,7 @@ import CancelledIcon from '~icons/material-symbols/warning';
export function StatusIcon(props: SVGProps<SVGSVGElement> & { status: StatusType }): JSX.Element | null {
const { status, ...rest } = props;
switch (props.status) {
switch (status) {
case Status.WAITLISTED:
return <WaitlistIcon {...rest} />;
case Status.CLOSED: