Skip to content

Commit 73bf0a6

Browse files
committed
Remove OldText component
1 parent 121920a commit 73bf0a6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/components/MatomoOptOut.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import { useEffect, useState } from "react"
22

3-
import Text from "@/components/OldText"
4-
53
import { MATOMO_LS_KEY } from "@/lib/utils/matomo"
64

75
import Checkbox from "../../tailwind/ui/Checkbox"
@@ -32,12 +30,12 @@ const MatomoOptOut = () => {
3230
}
3331
return (
3432
<div className="mb-4 mt-8 flex flex-col rounded border border-body-light bg-background p-6">
35-
<Text color="fail">
33+
<p className="mb-5 text-error">
3634
You can opt out of being tracked by Matomo Analytics and prevent the
3735
website from analysing the actions you take using the website. This will
3836
prevent us from learning from your actions and creating a better website
3937
experience for you and other users.
40-
</Text>
38+
</p>
4139
{loading ? (
4240
"Loading preferences..."
4341
) : (

0 commit comments

Comments
 (0)