Merged in fix/sw-2091-remove-breakfast (pull request #1689)
fix(SW-2091): remove breakfast ancillaries * fix(SW-2091): remove breakfast ancillaries * Send array in correct format * Break out function Approved-by: Bianca Widstam
This commit is contained in:
@@ -11,12 +11,12 @@ import useLang from "@/hooks/useLang"
|
||||
|
||||
export default function RemoveButton({
|
||||
confirmationNumber,
|
||||
code,
|
||||
codes,
|
||||
title,
|
||||
onSuccess,
|
||||
}: {
|
||||
confirmationNumber: string
|
||||
code: string
|
||||
codes: string[]
|
||||
title?: string
|
||||
onSuccess: () => void
|
||||
}) {
|
||||
@@ -44,7 +44,7 @@ export default function RemoveButton({
|
||||
{
|
||||
language: lang,
|
||||
confirmationNumber,
|
||||
codes: [code],
|
||||
codes,
|
||||
},
|
||||
{
|
||||
onSuccess: (data) => {
|
||||
|
||||
Reference in New Issue
Block a user