From 3bb4f34611f87b070bb593bf177128a0b0a49f4c Mon Sep 17 00:00:00 2001 From: Anish Lakhwara Date: Mon, 15 May 2023 21:17:29 +1000 Subject: [PATCH] exercise 1.8 --- part1/src/App.js | 1 + 1 file changed, 1 insertion(+) diff --git a/part1/src/App.js b/part1/src/App.js index ab73ad6..880e12a 100644 --- a/part1/src/App.js +++ b/part1/src/App.js @@ -1,5 +1,6 @@ import { useState } from 'react' +// Lol it's already factored that way :3 const Stats = ({ positive, neutral, negative }) => { const total = positive - negative const votes = positive + neutral + negative