feat(tip): add selectable coffee gift tiers

This commit is contained in:
2026-07-15 17:00:25 +08:00
parent e1a43a641b
commit c277b3e6ca
16 changed files with 480 additions and 98 deletions
@@ -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,