Fix ErrorSection text replacement
This commit is contained in:
parent
5cf6d3fff3
commit
96763defc3
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue