feat(SW-589): break out RateSummary

This commit is contained in:
Pontus Dreij
2024-10-15 09:52:50 +02:00
parent 72eca90d1b
commit 0f27d3b2b5
6 changed files with 80 additions and 73 deletions

View File

@@ -0,0 +1,8 @@
import { Rate } from "./selectRate"
import { User } from "@/types/user"
export interface RateSummaryProps {
rateSummary: Rate
user: User | null
}

View File

@@ -12,12 +12,3 @@ export interface Rate {
public: Product["productType"]["public"]
member: Product["productType"]["member"]
}
export interface State {
selectedRate: Rate | null
}
export type SetSelectedRateAction = {
type: "SET_SELECTED_RATE"
payload: Rate
}