Run eslint --fix
.
This commit is contained in:
parent
5767e222cb
commit
1d790dbe6c
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ import { TResponse } from "/lib/response";
|
||||||
export function ResponseRenderer({ response }: {response: TResponse}) {
|
export function ResponseRenderer({ response }: {response: TResponse}) {
|
||||||
const t = chrome.i18n.getMessage;
|
const t = chrome.i18n.getMessage;
|
||||||
|
|
||||||
function YesOrNoLabel({yes}: {yes: boolean}) {
|
function YesOrNoLabel({ yes }: {yes: boolean}) {
|
||||||
if (yes) {
|
if (yes) {
|
||||||
return (<label className="label label-rounded label-success">{t("yes")}</label>);
|
return (<label className="label label-rounded label-success">{t("yes")}</label>);
|
||||||
} else {
|
} else {
|
||||||
|
@ -32,7 +32,7 @@ export function ResponseRenderer({ response }: {response: TResponse}) {
|
||||||
</div>
|
</div>
|
||||||
<div className="row">
|
<div className="row">
|
||||||
<div>{t("tor_exit_node")}</div>
|
<div>{t("tor_exit_node")}</div>
|
||||||
<div>{<YesOrNoLabel yes={response.isTorExitNode}/>}</div>
|
<div><YesOrNoLabel yes={response.isTorExitNode}/></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue