chore(app): cleanup

This commit is contained in:
Adam
2026-02-09 07:24:28 -06:00
parent 30f0d3b394
commit acc53d9f61

View File

@@ -538,11 +538,7 @@ const toOpenVariant = (icon: IconName): IconName => {
return icon
}
const basenameOf = (p: string) =>
p
.replace(/[/\\]+$/, "")
.split(/[\\/]/)
.pop() ?? ""
const basenameOf = (p: string) => p.split("\\").join("/").split("/").filter(Boolean).pop() ?? ""
const folderNameVariants = (name: string) => {
const n = name.toLowerCase()