Skip to content
This repository was archived by the owner on Oct 30, 2025. It is now read-only.

Commit 96e72b6

Browse files
committed
[FIX] Inconsistent configure webhook button display
1 parent 4334e15 commit 96e72b6

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • client/src/components/ActivityPane

client/src/components/ActivityPane/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,9 @@ export default function ActivityPane(props) {
9797
}
9898
} catch (error) {
9999
console.log(error);
100+
setIsRepoOwner(false);
100101
}
101-
}
102+
};
102103
checkIfUserIsOwner();
103104
// eslint-disable-next-line
104105
}, [props.location.pathname]);
@@ -143,7 +144,7 @@ export default function ActivityPane(props) {
143144

144145
return (
145146
<div className="activity-pane-wrapper">
146-
<hr className="activity-pane-divider"/>
147+
<hr className="activity-pane-divider" />
147148
<div className="activity-pane-header">
148149
<span>Activity </span>
149150
{authState.isLoggedIn && isRepoOwner && (

0 commit comments

Comments
 (0)