Skip to content
Snippets Groups Projects
Unverified Commit c7e7be43 authored by GyDi's avatar GyDi
Browse files

fix: only error when selected

parent d63d49f2
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ const ProfileMore = (props: Props) => {
useEffect(() => enhance.listen(uid, setStatus), [uid]);
// error during enhanced mode
const hasError = status?.status === "error";
const hasError = selected && status?.status === "error";
const onEdit = () => {
setAnchorEl(null);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment