WhatsApp/Signal/Formstack/admin updates

This commit is contained in:
Darren Clarke 2025-11-21 14:55:28 +01:00
parent bcecf61a46
commit d0cc5a21de
451 changed files with 16139 additions and 39623 deletions

View file

@ -32,13 +32,13 @@ export const InternalButton: FC<InternalButtonProps> = ({
type = "button",
onClick,
}) => (
// @ts-expect-error - don't pass empty href
<MUIButton
variant="contained"
disableElevation
disabled={disabled}
onClick={onClick}
type={type}
href=""
sx={{
fontFamily: "Poppins, sans-serif",
fontWeight: 700,

View file

@ -59,7 +59,6 @@ export const MultiValueField: FC<MultiValueFieldProps> = ({
newFields[index][position] = value;
setFields(newFields);
// formState.values[name] = Object.fromEntries(newFields);
// console.log(formState.values);
};
return (

View file

@ -51,7 +51,12 @@ export const Select: FC<SelectProps> = ({
}}
>
{options.map((option: SelectOption) => (
<MenuItem key={option.value} value={option.value}>
<MenuItem
key={option.value}
value={option.value}
// @ts-ignore
disabled={option.disabled ?? false}
>
{option.label}
</MenuItem>
))}