We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44a428f commit f13b46dCopy full SHA for f13b46d
src/App.js
@@ -1,5 +1,5 @@
1
import './App.css';
2
-import { useState } from 'react';
+import { useState, useEffect } from 'react';
3
function App() {
4
//app compoment
5
const [points, setPoints] = useState(0); //set initial points to 0
0 commit comments