Skip to content

Commit

Permalink
Submit lol
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuzJ committed Nov 12, 2023
1 parent 733e871 commit b1143ae
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions dance-app/src/Submit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useState } from "react";
import { Recording } from "react-record-webcam/dist/useRecording";
import "./Submit.css";
import Loader from "./components/Loader";
import { Button } from "@mui/material";
import { Button, Typography } from "@mui/material";
import pb from "./pocketBase";

interface SubmitProps {
Expand Down Expand Up @@ -39,13 +39,14 @@ const Submit = ({ tier, video, onSubmit }: SubmitProps) => {
<Button
onClick={upload}
sx={{
backgroundColor: "rgba(1, 191, 200, 0.2)",
backgroundColor: "rgba(1, 191, 200, 0.4)",
borderRadius: "15px",
width: "40px",
height: "40px",
width: "20vw",
height: "10vh",
fontSize: "20px",
}}
>
{isLoading ? <Loader /> : "Analyze"}
{isLoading ? <Loader /> : <Typography>Submit</Typography>}
</Button>
</div>
);
Expand Down

0 comments on commit b1143ae

Please sign in to comment.