impr: rewrite PostForm component to be stabler and more sustainable (#684)

* impr: rewrite PostForm component into extracted state class

* fix: use base community as PostFormState

* fix: add else clause to ensure 'unset' unsets the language
This commit is contained in:
xylight authored and GitHub committed 2025-11-15 23:12:52 +00:00
1 parent 6f7501ffc5
commit e4507cbf91
16 files changed
+506 -586

No files matched your search

+1
View File
@@ -58,6 +58,7 @@
xl: 'rounded-xl',
lg: 'rounded-lg',
md: 'rounded-md',
inherit: 'rounded-[inherit]',
none: '',
}
type ButtonRoundness = keyof typeof buttonRounding