Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

NikitaK/Responsible Page Convert to TS #2417

Merged
merged 3 commits into from Jan 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/index.d.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,16 @@ import UnderageMobile from 'images/svg/responsible/underage-mobile.svg'
import Filtering from 'images/svg/responsible/filtering-controls.svg'
import FilteringMobile from 'images/svg/responsible/filtering-controls-mobile.svg'

const help_content = [
type HelpContentType = {
header: React.ReactElement
text: React.ReactElement
icon: React.ReactElement
icon_mobile: React.ReactElement
link?: string
text2?: string
}[]

const help_content: HelpContentType = [
{
header: <Localize translate_text="Underage gambling" />,
text: (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ const TradingLimits = () => {
{localize('How trading limits and self-exclusion work')}
</StyledHeader>
<div>
{/* TODO: enable these self exclusion notes when new Backend API is ready */}
<Show.NonEU>
<Text ml="0.8rem" max_width="44rem">
<TimelineTick color="var(--color-red)" pb="1rem">
Expand Down