fix
This commit is contained in:
@@ -13,10 +13,11 @@ import {
|
||||
|
||||
import { useWizard } from '@/components/wizard'
|
||||
|
||||
import { type WizardState } from './route'
|
||||
import { applyDiscount } from './discount'
|
||||
|
||||
type ReviewProps = {
|
||||
state: any
|
||||
state: WizardState
|
||||
}
|
||||
|
||||
export function Review({ state }: ReviewProps) {
|
||||
@@ -35,6 +36,8 @@ export function Review({ state }: ReviewProps) {
|
||||
: 0
|
||||
const total = subtotal > 0 ? subtotal + discount : 0
|
||||
|
||||
console.log(state)
|
||||
|
||||
return (
|
||||
<>
|
||||
<Table>
|
||||
@@ -98,6 +101,7 @@ export function Review({ state }: ReviewProps) {
|
||||
variant="link"
|
||||
className="text-black dark:text-white"
|
||||
onClick={() => wizard('payment')}
|
||||
tabIndex={-1}
|
||||
>
|
||||
Voltar
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user