We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4334e15 commit 96e72b6Copy full SHA for 96e72b6
1 file changed
client/src/components/ActivityPane/index.js
@@ -97,8 +97,9 @@ export default function ActivityPane(props) {
97
}
98
} catch (error) {
99
console.log(error);
100
+ setIsRepoOwner(false);
101
- }
102
+ };
103
checkIfUserIsOwner();
104
// eslint-disable-next-line
105
}, [props.location.pathname]);
@@ -143,7 +144,7 @@ export default function ActivityPane(props) {
143
144
145
return (
146
<div className="activity-pane-wrapper">
- <hr className="activity-pane-divider"/>
147
+ <hr className="activity-pane-divider" />
148
<div className="activity-pane-header">
149
<span>Activity </span>
150
{authState.isLoggedIn && isRepoOwner && (
0 commit comments