mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-07 16:54:59 -05:00
fix: yet another issue
This commit is contained in:
parent
b707bbd49d
commit
cd37f072e4
@ -145,7 +145,7 @@ const FormSchemaGrid = z.object({
|
||||
}),
|
||||
});
|
||||
|
||||
export function RowRadioForm() {
|
||||
function RowRadioForm() {
|
||||
const { user } = useUser();
|
||||
const form = useForm<z.infer<typeof FormSchemaGrid>>({
|
||||
resolver: zodResolver(FormSchemaGrid),
|
||||
@ -213,7 +213,7 @@ export function RowRadioForm() {
|
||||
);
|
||||
}
|
||||
|
||||
export function PaddingRadioForm() {
|
||||
function PaddingRadioForm() {
|
||||
const { user } = useUser();
|
||||
const form = useForm<z.infer<typeof FormSchema>>({
|
||||
resolver: zodResolver(FormSchema),
|
||||
@ -312,7 +312,7 @@ const FormSchemaCB = z.object({
|
||||
padding: z.boolean().default(false).optional(),
|
||||
});
|
||||
|
||||
export function ServerPaddingForm() {
|
||||
function ServerPaddingForm() {
|
||||
const { user } = useUser();
|
||||
const srv = user?.publicMetadata.srv as boolean | undefined;
|
||||
const form = useForm<z.infer<typeof FormSchemaCB>>({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user