diff --git a/ui/src/ld/launchDarklyContext.js b/ui/src/ld/launchDarklyContext.js index a785bab..a3e98ed 100644 --- a/ui/src/ld/launchDarklyContext.js +++ b/ui/src/ld/launchDarklyContext.js @@ -1,4 +1,5 @@ const STORAGE_KEY = "ld-anonymous-context-key"; +const PROJECT_KEY = 'epietrowicz-tabbit' /** * Stable anonymous LaunchDarkly context so targeting stays consistent across visits. diff --git a/ui/src/pages/ReceiptUploadPage.jsx b/ui/src/pages/ReceiptUploadPage.jsx index 56248f6..844b655 100644 --- a/ui/src/pages/ReceiptUploadPage.jsx +++ b/ui/src/pages/ReceiptUploadPage.jsx @@ -7,6 +7,7 @@ export default function ReceiptUploadPage() { const navigate = useNavigate(); const flags = useFlags(); const showHeroFlag = Boolean(flags.heroFlag ?? flags["hero-flag"]); + const showReceiptHeader = Boolean(flags.showReceiptHeader ?? flags["show-receipt-header"]); const [file, setFile] = useState(null); const [uploading, setUploading] = useState(false); const [error, setError] = useState(null); @@ -56,19 +57,21 @@ export default function ReceiptUploadPage() { return (
- Tabbit reads a photo of your receipt, pulls out line items and totals, - and gives you a link everyone can use. Each person says what they had - in plain language; we map it to the bill so you can settle up fairly. -
-+ Tabbit reads a photo of your receipt, pulls out line items and totals, + and gives you a link everyone can use. Each person says what they had + in plain language; we map it to the bill so you can settle up fairly. +
+