Fix SF3 listed with a limit level of infinity

This commit is contained in:
Olivier Gagnon
2021-03-07 04:42:48 -05:00
parent 4145ddad39
commit c8377c0bb3
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ type IProps = {
}
export function SourceFileAccordion(props: IProps): React.ReactElement {
const maxLevel = props.sf.n === 3 ? "∞" : "3";
const maxLevel = props.sf.n === 12 ? "∞" : "3";
return (
<Accordion