feat: ship creator journey v2 and profile updates
This commit is contained in:
10
resources/js/config/tags.js
Normal file
10
resources/js/config/tags.js
Normal file
@@ -0,0 +1,10 @@
|
||||
const FALLBACK_MAX_USER_TAGS = 30
|
||||
|
||||
export function getMaxUserTags() {
|
||||
if (typeof window === 'undefined') return FALLBACK_MAX_USER_TAGS
|
||||
|
||||
const value = Number(window.SKINBASE_LIMITS?.tags?.max_user_tags)
|
||||
return Number.isInteger(value) && value > 0 ? value : FALLBACK_MAX_USER_TAGS
|
||||
}
|
||||
|
||||
export { FALLBACK_MAX_USER_TAGS }
|
||||
Reference in New Issue
Block a user