Skip to content

Commit

Permalink
Merge pull request #227 from hampster2018/mackenziesalinas-week-3-and-4
Browse files Browse the repository at this point in the history
Fixed linting errors
  • Loading branch information
jdestgermain authored Dec 1, 2023
2 parents 08ef956 + c73f9f8 commit 3ca3edc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/pages/analyticalDashboard/components/CMEbbinhausGraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ import Chart from 'react-apexcharts';
// import store, { useStoreState, useStoreActions } from '../../../store/store';
import { useStoreState } from '../../../store/store';

interface Props {
interface CMEbbinghausGraphProps {
tag: string;
}

export function CMEbbinghausGraph({ tag }): ReactElement {
export function CMEbbinghausGraph({
tag,
}: CMEbbinghausGraphProps): ReactElement {
const flashcard = useStoreState((state) => state.flashCards);

console.log('EBBINGHAUS GRAPH');
Expand Down Expand Up @@ -111,7 +113,7 @@ export function CMEbbinghausGraph({ tag }): ReactElement {
]);

useEffect(() => {
let levelSums = [
const levelSums = [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
];
flashcard.forEach((card) => {
Expand Down

0 comments on commit 3ca3edc

Please sign in to comment.