diff --git a/src/api/getChallengeFullDescription.js b/src/api/getChallengeFullDescription.js index badb32f..7cdcaf1 100644 --- a/src/api/getChallengeFullDescription.js +++ b/src/api/getChallengeFullDescription.js @@ -1,4 +1,4 @@ -import {API} from "../utils/globals"; +import {API} from '../utils/globals'; const getChallengeFullDescription = (setDataState, setLoading, challengeName) => { fetch(`${API}/challenge-readme/${challengeName}/markdown`) @@ -8,6 +8,6 @@ const getChallengeFullDescription = (setDataState, setLoading, challengeName) => if (setLoading) setLoading(false); }); -} +}; export default getChallengeFullDescription; \ No newline at end of file diff --git a/src/api/getChallengeInfo.js b/src/api/getChallengeInfo.js index 3a8c327..5d76d9c 100644 --- a/src/api/getChallengeInfo.js +++ b/src/api/getChallengeInfo.js @@ -1,4 +1,4 @@ -import {API} from "../utils/globals"; +import {API} from '../utils/globals'; const getChallengeInfo = (setDataState, setLoadingState, challengeName) => { fetch(`${API}/challenge-info/${challengeName}`) @@ -8,6 +8,6 @@ const getChallengeInfo = (setDataState, setLoadingState, challengeName) => { if (setLoadingState) setLoadingState(false); }); -} +}; export default getChallengeInfo; \ No newline at end of file diff --git a/src/api/getChallenges.js b/src/api/getChallenges.js index f25df7a..0541135 100644 --- a/src/api/getChallenges.js +++ b/src/api/getChallenges.js @@ -1,4 +1,4 @@ -import {API} from "../utils/globals"; +import {API} from '../utils/globals'; const getChallenges = (setDataState, setLoadingState) => { fetch(`${API}/list-challenges`) @@ -8,6 +8,6 @@ const getChallenges = (setDataState, setLoadingState) => { if (setLoadingState) setLoadingState(false); }); -} +}; export default getChallenges; \ No newline at end of file