This commit is contained in:
thororen1234 2024-07-03 15:10:20 -04:00
commit efb0fee156
16 changed files with 470 additions and 190 deletions

View file

@ -24,7 +24,7 @@ import { EquicordDevsById, SuncordDevsById, VencordDevsById } from "./constants"
* Calls .join(" ") on the arguments
* classes("one", "two") => "one two"
*/
export function classes(...classes: Array<string | null | undefined>) {
export function classes(...classes: Array<string | null | undefined | false>) {
return classes.filter(Boolean).join(" ");
}