Skip to content

Commit

Permalink
Merge pull request reactplay#316 from vasantisuthar/vasantisuthar
Browse files Browse the repository at this point in the history
fixed the play bug
  • Loading branch information
atapas committed Jun 16, 2022
2 parents 718646d + 6e9a49d commit 9bf90c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions src/plays/quizeo/src/components/header/header.component.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import React from 'react';
import { useDispatch } from 'react-redux';
import './header.styles.css';
import { isClicked } from '../../redux/questions/questions-action';

const Header = () => {
let dispatch = useDispatch();
return (
<div>
<h1 className="header" onClick={() => dispatch(isClicked())}>Quizeo</h1>
<h1 className="header">Quizeo</h1>
</div>
);
}
Expand Down
1 change: 0 additions & 1 deletion src/plays/quizeo/src/components/header/header.styles.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.quizeo .header{
cursor: pointer;
margin-top: 1.5rem;
margin-bottom: 3.5rem;
font-size: 3rem;
Expand Down

0 comments on commit 9bf90c6

Please sign in to comment.