From b34927a69bea8d35ef4f00810be34460b8f0c957 Mon Sep 17 00:00:00 2001 From: Toliver Date: Tue, 27 Jul 2021 07:47:58 +0900 Subject: [PATCH] Change "Refresh now" text to button for better actionability (#853) --- src/components/Status.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Status.tsx b/src/components/Status.tsx index 5fe3acc6..5ab7c174 100644 --- a/src/components/Status.tsx +++ b/src/components/Status.tsx @@ -3,8 +3,8 @@ import { observer } from "mobx-react-lite"; import moment from "moment"; import React from "react"; import { Alert } from "react-bootstrap"; +import { SmallButton } from "./design/Button"; import { Core } from "../state/core"; -import { Link } from "./design/Link"; export interface StatusProps { core: Core; @@ -25,13 +25,13 @@ export const Status = observer((props: StatusProps) => { {props.core.refreshing ? ( "Refreshing..." ) : ( - { props.core.triggerBackgroundRefresh(); }} > - Refresh now - + Refresh + )} );