Skip to content

Commit

Permalink
Update file structure of add question frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
guanquann committed Sep 20, 2024
1 parent c0d0ebf commit 3d19658
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { Button, ImageList, ImageListItem } from "@mui/material";
import FileUploadIcon from "@mui/icons-material/FileUpload";
import "react-toastify/dist/ReactToastify.css";

import QuestionImage from "./QuestionImage";
import QuestionImageDialog from "./QuestionImageDialog";
import QuestionImage from "../NewQuestion/QuestionImage";
import QuestionImageDialog from "../QuestionImageDialog";

const FileUploadInput = styled("input")({
height: 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import { ToastContainer, toast } from "react-toastify";
import "react-toastify/dist/ReactToastify.css";
import { v4 as uuidv4 } from "uuid";

import { storage } from "../firebase";
import { storage } from "../../firebase";
import { getDownloadURL, ref, uploadBytesResumable } from "firebase/storage";

import QuestionMarkdown from "../components/NewQuestion/QuestionMarkdown";
import QuestionImageContainer from "../components/NewQuestion/QuestionImageContainer";
import QuestionMarkdown from "../../components/QuestionMarkdown";
import QuestionImageContainer from "../../components/QuestionImageContainer";

// hardcode for now
const difficultyList: string[] = ["Easy", "Medium", "Hard"];
Expand Down

0 comments on commit 3d19658

Please sign in to comment.