Skip to content
This repository was archived by the owner on Apr 4, 2022. It is now read-only.

Commit

Permalink
test error
Browse files Browse the repository at this point in the history
  • Loading branch information
nenadV91 committed Sep 22, 2021
1 parent cc188d5 commit d21841a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/apps/explorer/pages/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,13 @@ const Wrapper = styled.div`
`

export const Home: React.FC = () => {
const testError = (): void => {
throw new Error('Test me!!!')
}
return (
<Wrapper>
<h1>Search Order ID</h1>
<button onClick={testError}>Test error</button>
<Search />
</Wrapper>
)
Expand Down

0 comments on commit d21841a

Please sign in to comment.