mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 07:13:44 +08:00
fix: only error when selected
This commit is contained in:
parent
b31cdce073
commit
b5c8283575
@ -63,7 +63,7 @@ const ProfileMore = (props: Props) => {
|
|||||||
useEffect(() => enhance.listen(uid, setStatus), [uid]);
|
useEffect(() => enhance.listen(uid, setStatus), [uid]);
|
||||||
|
|
||||||
// error during enhanced mode
|
// error during enhanced mode
|
||||||
const hasError = status?.status === "error";
|
const hasError = selected && status?.status === "error";
|
||||||
|
|
||||||
const onEdit = () => {
|
const onEdit = () => {
|
||||||
setAnchorEl(null);
|
setAnchorEl(null);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user