From ce2c9835b93cf0db603890eb1ef75bc3a86ee7d2 Mon Sep 17 00:00:00 2001 From: Jixun Wu Date: Mon, 22 May 2023 22:28:51 +0100 Subject: [PATCH] chore: make error summary red (#12) --- src/features/file-listing/FileError.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/features/file-listing/FileError.tsx b/src/features/file-listing/FileError.tsx index 1369eba..62d8550 100644 --- a/src/features/file-listing/FileError.tsx +++ b/src/features/file-listing/FileError.tsx @@ -17,7 +17,9 @@ export function FileError({ error, code }: FileErrorProps) { return ( - 解密错误:{errorSummary} + + 解密错误:{errorSummary} + {error && (