feat(tip): add selectable coffee gift tiers
This commit is contained in:
@@ -26,7 +26,6 @@ interface ExternalEntryPersistProps {
|
||||
psid: string | null;
|
||||
avatarUrl: string | null;
|
||||
target: string | null;
|
||||
coffeeType: string | null;
|
||||
mode: string | null;
|
||||
promotionType: string | null;
|
||||
}
|
||||
@@ -37,7 +36,6 @@ export default function ExternalEntryPersist({
|
||||
psid,
|
||||
avatarUrl,
|
||||
target,
|
||||
coffeeType,
|
||||
mode,
|
||||
promotionType,
|
||||
}: ExternalEntryPersistProps) {
|
||||
@@ -47,7 +45,7 @@ export default function ExternalEntryPersist({
|
||||
const [hasPersisted, setHasPersisted] = useState(false);
|
||||
const hasNavigatedRef = useRef(false);
|
||||
const targetRoute = resolveExternalEntryTarget({ target });
|
||||
const destination = resolveExternalEntryDestination({ target, coffeeType });
|
||||
const destination = resolveExternalEntryDestination({ target });
|
||||
const resolvedPromotionType = resolveExternalEntryPromotionType({
|
||||
mode,
|
||||
promotionType,
|
||||
@@ -85,7 +83,6 @@ export default function ExternalEntryPersist({
|
||||
}, [
|
||||
avatarUrl,
|
||||
asid,
|
||||
coffeeType,
|
||||
destination,
|
||||
deviceId,
|
||||
mode,
|
||||
|
||||
Reference in New Issue
Block a user