diff --git a/actions.js b/actions.js index 81702c6..49fcfa0 100644 --- a/actions.js +++ b/actions.js @@ -656,7 +656,7 @@ export function postConnect({ slug, assignmentId, response }) { // success case dispatch(uploadSucceeded(assignmentId)); const p = new Promise((resolve) => { - setTimeout(() => resolve, 1000); + setTimeout(() => resolve, 1000); // FIXME: this is a kludge }); return p; }) diff --git a/components/student/connect.js b/components/student/connect.js index cb686ea..a00ec0d 100644 --- a/components/student/connect.js +++ b/components/student/connect.js @@ -7,6 +7,7 @@ import { fetchSingleStudentAssignment, postConnect, } from '../../actions'; +import StatusIndicator from '../statusIndicator'; export default function ConnectActivity() { const router = useRouter(); @@ -80,7 +81,7 @@ export default function ConnectActivity() { }} style={{ width: '100%' }} /> - + );