mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
explicitly define return types
This commit is contained in:
parent
5e66006aad
commit
0bb7a8eb5f
1 changed files with 6 additions and 6 deletions
|
|
@ -21,13 +21,13 @@ export const App: React.FC = () =>
|
|||
</Footer>
|
||||
</Layout>;
|
||||
|
||||
const Logo = () =>
|
||||
const Logo = (): JSX.Element =>
|
||||
<img src="logo_filterlists.png"
|
||||
alt="FilterLists logo"
|
||||
height="44px"
|
||||
style={{ background: '#fff' }} />;
|
||||
|
||||
const CopyrightAuthor = () =>
|
||||
const CopyrightAuthor = (): JSX.Element =>
|
||||
<span>
|
||||
©{new Date().getFullYear()}
|
||||
<a href="https://collinmbarrett.com"
|
||||
|
|
@ -36,28 +36,28 @@ const CopyrightAuthor = () =>
|
|||
Collin M. Barrett</a>
|
||||
</span>;
|
||||
|
||||
const Community = () =>
|
||||
const Community = (): JSX.Element =>
|
||||
<a href="https://hub.filterlists.com"
|
||||
title="FilterLists Discourse community forum"
|
||||
target="_blank" rel="noopener noreferrer">
|
||||
Community
|
||||
</a>;
|
||||
|
||||
const GitHub = () =>
|
||||
const GitHub = (): JSX.Element =>
|
||||
<a href="https://github.com/collinbarrett/FilterLists"
|
||||
title="FilterLists git repository on GitHub"
|
||||
target="_blank" rel="noopener noreferrer">
|
||||
GitHub
|
||||
</a>;
|
||||
|
||||
const Api = () =>
|
||||
const Api = (): JSX.Element =>
|
||||
<a href="/api/v1/lists"
|
||||
title="FilterLists API lists endpoint"
|
||||
target="_blank" rel="noopener noreferrer">
|
||||
API
|
||||
</a>;
|
||||
|
||||
const Donate = () =>
|
||||
const Donate = (): JSX.Element =>
|
||||
<a href="https://beerpay.io/collinbarrett/FilterLists"
|
||||
title="Donate to FilterLists with Beerpay"
|
||||
target="_blank" rel="noopener noreferrer">
|
||||
|
|
|
|||
Loading…
Reference in a new issue