fix: data params

This commit is contained in:
dvelo 2024-11-11 20:16:46 -06:00
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>) { async function onSubmit(data: z.infer<typeof FormSchema>) {
toast.promise(setCustomization(server, { banner: imageId }), { toast.promise(setCustomization(server, { banner: data.website }), {
loading: "Setting banner..", loading: "Setting banner..",
success: "Set banner!", success: "Set banner!",
error: "Error while setting banner", error: "Error while setting banner",