0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-29 13:22:40 +00:00

Update client/homebrew/pages/newPage/newPage.jsx

Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
This commit is contained in:
Gazook89
2021-11-24 07:48:44 -06:00
committed by GitHub
parent 7997698bcd
commit 2e5d1b3b55

View File

@@ -226,7 +226,7 @@ const NewPage = createClass({
</Nav.item>;
}
if(this.state.errors.url.match(/^\/api\/.*Google.*$/m)){
if(this.state.errors.response.req.url.match(/^\/api\/.*Google.*$/m)){
return <Nav.item className='save error' icon='fas fa-exclamation-triangle'>
Oops!
<div className='errorContainer' onClick={this.clearErrors}>