aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/website/ts/components/ui/account_connection.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/components/ui/account_connection.tsx b/packages/website/ts/components/ui/account_connection.tsx
index 0f61ecde4..6d0b90922 100644
--- a/packages/website/ts/components/ui/account_connection.tsx
+++ b/packages/website/ts/components/ui/account_connection.tsx
@@ -27,7 +27,7 @@ export const AccountConnection: React.StatelessComponent<AccountConnectionProps>
);
};
-function getInjectedProviderColor(accountState: AccountState): string {
+const getInjectedProviderColor = (accountState: AccountState) => {
switch (accountState) {
case AccountState.Ready:
return colors.limeGreen;
@@ -37,4 +37,4 @@ function getInjectedProviderColor(accountState: AccountState): string {
default:
return colors.red;
}
-}
+};