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 = () => {