Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
faizanu94 committed Dec 31, 2020
1 parent 1c48375 commit 0a1acfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/containers/profile/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function ProfilePage() {
const req = await getUserReport(username);

if (req.error_code == 1) {
setError(`0xb00${req.error_code}`);
setError('Invalid Username');
} else {
let _data = req.data;
setReport({
Expand Down Expand Up @@ -128,7 +128,7 @@ export default function ProfilePage() {
{error != null && (
<div className="error__wrapper">
<div className="error__content">
<p>Something went wrong.</p>({error})
<h3>{error}</h3>
<a
rel="noopener"
target="_blank"
Expand Down

1 comment on commit 0a1acfe

@johnjohndoe
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.