Skip to content

Commit

Permalink
Merge pull request #42 from jajo21/errorboundary
Browse files Browse the repository at this point in the history
Fixar errorboundaryn i sista sekund
  • Loading branch information
johannesjakobsson authored Sep 30, 2022
2 parents 3f13582 + 557eb93 commit b050f2d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/components/error/Fallback-message.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react'
import PropTypes from 'prop-types';
import { Link } from 'react-router-dom';
import './fallback-message.css';

Expand Down Expand Up @@ -29,9 +28,4 @@ export default class FallbackMessage extends React.Component {
</div>
)
}
}

FallbackMessage.propTypes = {
error: PropTypes.object,
handleHasError: PropTypes.func
}

0 comments on commit b050f2d

Please sign in to comment.