From e4a9c831381a9c90ca0d44844d103b9c83a56c8d Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 16 Aug 2020 22:21:50 +0900 Subject: Improve a11y on Message component --- src/console/components/console/Message.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/console/components/console/Message.tsx b/src/console/components/console/Message.tsx index e039020..73498fd 100644 --- a/src/console/components/console/Message.tsx +++ b/src/console/components/console/Message.tsx @@ -23,9 +23,9 @@ interface Props { const Message: React.FC = ({ mode, children }) => { switch (mode) { case "error": - return {children}; + return {children}; case "info": - return {children}; + return {children}; } return null; }; -- cgit v1.2.3