mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
parent
8d8b18f2b9
commit
ea5ae4b37f
1 changed files with 5 additions and 3 deletions
|
|
@ -29,7 +29,7 @@ export class Home extends React.Component<RouteComponentProps<{}>, IHomeState> {
|
|||
<em>Loading...</em>
|
||||
</p>
|
||||
: <div>
|
||||
{Home.renderTagline(this.state.lists, this.state.ruleCount)}
|
||||
{Home.renderTagline(this.state)}
|
||||
{Home.renderFilterListsTable(this.state.lists)}
|
||||
</div>;
|
||||
return <div>
|
||||
|
|
@ -56,9 +56,11 @@ export class Home extends React.Component<RouteComponentProps<{}>, IHomeState> {
|
|||
});
|
||||
}
|
||||
|
||||
private static renderTagline(filterLists: IListDto[], ruleCount: number) {
|
||||
private static renderTagline(state: IHomeState) {
|
||||
return <p className="ml-2 mr-2">
|
||||
The independent, comprehensive directory of <strong>{ruleCount}</strong> unique rules across <strong>{filterLists.length}</strong> filter and host lists for advertisements, trackers, malware, and annoyances.
|
||||
The independent, comprehensive directory of <strong>{state.ruleCount
|
||||
}</strong> unique rules across <strong>{state.lists.length
|
||||
}</strong> filter and host lists for advertisements, trackers, malware, and annoyances.
|
||||
</p>;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue