Fakultas Ilmu Komputer UI

Commit 995249d2 authored by FadhilP's avatar FadhilP
Browse files

prevent error

parent 9ae8b802
This diff is collapsed.
......@@ -11,7 +11,7 @@ import AuthService from '../services/auth.service'
export default function Thread(props){
const currentUserId = AuthService.getCurrentUser().id
const currentUserId = AuthService.getCurrentUserId()
const [isUsersThread, setIsUsersThread] = useState(0);
const redirect = () => {
props.history.push(`/topic/${topicParm}`)
......
Supports Markdown
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