From 262dca0f8ea5eb56df060dd70349de94a99e52ff Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Sun, 26 Apr 2020 11:12:10 +0800 Subject: [PATCH] tweak html tag --- config/options.php | 2 +- resources/assets/src/views/user/Dashboard/InfoBox.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/options.php b/config/options.php index 0e93e95c..edd79247 100644 --- a/config/options.php +++ b/config/options.php @@ -25,7 +25,7 @@ return [ 'score_per_player' => '100', 'sign_after_zero' => 'false', 'version' => '', - 'copyright_text' => 'Copyright © {year} {site_name}. All rights reserved.', + 'copyright_text' => 'Copyright © {year} {site_name}. All rights reserved.', 'auto_del_invalid_texture' => 'false', 'allow_downloading_texture' => 'true', 'texture_name_regexp' => '', diff --git a/resources/assets/src/views/user/Dashboard/InfoBox.tsx b/resources/assets/src/views/user/Dashboard/InfoBox.tsx index 6fcb7143..206e27e0 100644 --- a/resources/assets/src/views/user/Dashboard/InfoBox.tsx +++ b/resources/assets/src/views/user/Dashboard/InfoBox.tsx @@ -9,7 +9,7 @@ interface Props { unit: string } -const InfoBox: React.FC = props => { +const InfoBox: React.FC = (props) => { const percentage = (props.used / props.total) * 100 return ( @@ -20,7 +20,7 @@ const InfoBox: React.FC = props => {
{props.name} - {props.used} / {props.total} {props.unit} + {props.used} / {props.total} {props.unit}