Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions src/templates/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import PropTypes from "prop-types"
import { Nav } from 'bricks'
import { Logo } from '../components/logo'
import { Link, navigate } from 'gatsby'
import hooksUrl from '../../config'
import { hooksUrl } from '../../config'

const links = [
{title: 'Work', link: '/work'},
Expand Down Expand Up @@ -42,9 +42,6 @@ class Header extends Component {
localStorage.setItem('userDetails', JSON.stringify({}))
document.getElementById('contact-submit').disabled = false
navigate('/thank-you')
} else {
document.getElementById('contact-submit').disabled = false
alert('Sorry! something went wrong while processing your request. Please try again later')
}
}
http.onerror = () => {
Expand Down