From 96763defc3622ad852abcc3a81abd57a521f493a Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sat, 28 Jan 2023 17:42:54 -0800 Subject: [PATCH] Fix ErrorSection text replacement --- components/ErrorSection/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ErrorSection/index.tsx b/components/ErrorSection/index.tsx index f0b904c6..5f8c4cae 100644 --- a/components/ErrorSection/index.tsx +++ b/components/ErrorSection/index.tsx @@ -18,7 +18,7 @@ const ErrorSection = ({ status }: Props) => { const [statusText, setStatusText] = useState('') useEffect(() => { - setStatusText(status.text.replace(' ', '_').toLowerCase()) + setStatusText(status.text.replaceAll(' ', '_').toLowerCase()) }, [status.text]) const errorBody = () => {