feat(SW-589): break out RateSummary
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { Rate } from "./selectRate"
|
||||
|
||||
import { User } from "@/types/user"
|
||||
|
||||
export interface RateSummaryProps {
|
||||
rateSummary: Rate
|
||||
user: User | null
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user