1
0
Fork 0

format code

This commit is contained in:
ChaotiCryptidz 2022-01-10 16:10:35 +00:00
parent a5b6b8a617
commit 80d9f7146a
4 changed files with 10 additions and 5 deletions

View file

@ -1,3 +0,0 @@
#!/usr/bin/env bash
npx eslint --cache -c .eslintrc.json "$@" --ext .js,.ts,.tsx

3
runLinterFormatter.sh Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
npx eslint --cache -c .eslintrc.json --ext .js,.ts,.tsx src "$@"

View file

@ -28,7 +28,12 @@ export function AuthListElement(props: AuthListElementProps): JSX.Element {
<span class="uk-text-muted">{` (${props.method.accessor})`}</span>
<div class="uk-margin-top">
{isViewable && (
<button class="uk-button uk-button-small uk-button-primary" onClick={() => {onViewClick(props)}}>
<button
class="uk-button uk-button-small uk-button-primary"
onClick={() => {
onViewClick(props);
}}
>
{i18next.t("common_view")}
</button>
)}

View file

@ -48,7 +48,7 @@ export class UserPassUserView extends Component<DefaultPageProps, { user_data: U
</button>
</p>
<br/>
<br />
<Margin>
<h4>{i18next.t("auth_common_token_config")}</h4>