From 0a1acfe40d1e94609248f1de0a8b4c07dd032af1 Mon Sep 17 00:00:00 2001 From: faizanu94 Date: Thu, 31 Dec 2020 20:51:03 +0400 Subject: [PATCH] closes #20 --- src/containers/profile/index.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/containers/profile/index.jsx b/src/containers/profile/index.jsx index 564b748..c33a777 100644 --- a/src/containers/profile/index.jsx +++ b/src/containers/profile/index.jsx @@ -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({ @@ -128,7 +128,7 @@ export default function ProfilePage() { {error != null && (
-

Something went wrong.

({error}) +

{error}