mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-07 14:54:58 -05:00
fix: data params
This commit is contained in:
parent
a6c1404646
commit
6fed35c4d2
@ -37,7 +37,7 @@ export function BannerPopover({ server, get }: { server: string; get: any }) {
|
||||
});
|
||||
|
||||
async function onSubmit(data: z.infer<typeof FormSchema>) {
|
||||
toast.promise(setCustomization(server, { banner: imageId }), {
|
||||
toast.promise(setCustomization(server, { banner: data.website }), {
|
||||
loading: "Setting banner..",
|
||||
success: "Set banner!",
|
||||
error: "Error while setting banner",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user