Skip to content

Commit

Permalink
Merge pull request #28 from nmsturcke/patch-2
Browse files Browse the repository at this point in the history
Fix Bug where {your} is not replaced
  • Loading branch information
Peter authored Nov 10, 2022
2 parents 41a7b95 + 84c3eae commit fedbba0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/Data.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11518,7 +11518,11 @@ export default function Data({ data, demo }: any): ReactElement {
.replace(
/{you've}/g,
data?.dataFile ? "They've" : "You've"
),
)
.replace(
/{your}/g,
data?.dataFile ? "Their" : "Your"
)
}}
/>
</div>
Expand Down

0 comments on commit fedbba0

Please sign in to comment.