diff options
-rw-r--r-- | src/client/react/components/container/Search.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/react/components/container/Search.js b/src/client/react/components/container/Search.js index a92e647..ad6f7f1 100644 --- a/src/client/react/components/container/Search.js +++ b/src/client/react/components/container/Search.js @@ -68,8 +68,8 @@ class Search extends React.Component { } else if (result) { this.props.history.push(`/${result}`); } - } break; + } default: throw new Error('This should never happen... pls?'); } |