Commit 63b280ed authored by Mahdi Mahmoudy's avatar Mahdi Mahmoudy
Browse files

minor fix re comment button being visible whilst not logged in

parent 356be9e6
......@@ -112,6 +112,10 @@ const CommentsAndStatusModal = ({
commentsApiUri,
statusApiUri,
}) => {
if (!isLoggedIn) {
return null;
}
const [selectedNotificationsLists, setSelectedNotificatoinsLists] = useState([]);
const userToken = cookies.get('userToken');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment