Skip to content

Commit

Permalink
Fix #749: Remove non-functioning imports and states (#750)
Browse files Browse the repository at this point in the history
Co-authored-by: Koustov <koustov@live.com>
  • Loading branch information
kd100100 and koustov authored Oct 31, 2022
1 parent 2d47b55 commit d9c4d5f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {
Alert,
Box,
Button,
Card,
CardActions,
Expand Down
6 changes: 3 additions & 3 deletions src/plays/image-gallery/Gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import GalleryAPI from './GalleryAPI'


export default function Gallery() {
const [data, setData] = useState(GalleryAPI)
const data = GalleryAPI
const [ourText, setOurText] = useState("Welcome to the Image Gallery, Click on the Images and get to know about it.")
const [midText, setMidText] = useState("Sorry for interrupting. I think you like our Gallery. Don't forget to give it a thumbs up.")
const midText = "Sorry for interrupting. I think you like our Gallery. Don't forget to give it a thumbs up."
const msg = new SpeechSynthesisUtterance()
var voiceName = "Zira"

const filterResult = (catItem) => {
const result = GalleryAPI.filter((currentData) => {
GalleryAPI.filter((currentData) => {
speechHandler(msg)
return currentData.type === catItem;
});
Expand Down
1 change: 0 additions & 1 deletion src/plays/pokemon-stats/components/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ type SearchProps = {
fetchPokemonDetails: (e: React.FormEvent<HTMLFormElement>) => void;
name: string;
};
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {}

const Search = (props: SearchProps) => {
const { onEventChange, fetchPokemonDetails, name } = props;
Expand Down
3 changes: 1 addition & 2 deletions src/plays/typing-speed-test/components/ResultModal.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Modal } from "@mui/material";
import SocialShare from "common/components/SocialShare";
import { IoLogoTwitter } from "react-icons/io5";
import "../styles.css";
import { getEvaluationText } from "../utils";
Expand Down Expand Up @@ -60,4 +59,4 @@ const ResultModal = ({ open, handleModalClose, stats }) => {
);
};

export default ResultModal;
export default ResultModal;

1 comment on commit d9c4d5f

@vercel
Copy link

@vercel vercel bot commented on d9c4d5f Oct 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

react-play – ./

react-play-git-main-reactplayio.vercel.app
react-play-reactplayio.vercel.app
reactoplay.vercel.app

Please sign in to comment.