mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 00:55:25 +00:00
Fix serverless crash + Version Filters on reload (#1050)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
export const getArrayOrString = (x) => {
|
||||
if (typeof x === 'string' || x instanceof String) {
|
||||
return [x]
|
||||
} else {
|
||||
return x
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user