QoL changes & code formatting

This commit is contained in:
KingRainbow44
2022-06-01 17:28:48 -04:00
parent 2d2cf82751
commit 174a990c40
8 changed files with 20 additions and 23 deletions

View File

@@ -72,8 +72,6 @@ export default class DirInput extends React.Component<IProps, IState> {
]
})
}
if (Array.isArray(path)) path = path[0]
if (!path) return