25 |
Add Cluster
26 |
27 |
28 |
29 |
30 | {!showClusterEditor &&
setShowClusterEditor(true) }
31 | id="cluster-btn"
32 | className="fa-thin fa-plus fa-fade fa-xl"
33 | style={buttonAnimation}
34 | >+}
35 | {showClusterEditor &&
}
36 |
37 | >
38 | );
39 | };
40 |
41 | export default Home;
--------------------------------------------------------------------------------
/client/src/components/LoginPage.tsx:
--------------------------------------------------------------------------------
1 | import React, {useEffect, useState} from 'react';
2 | import { useNavigate } from 'react-router-dom';
3 | import '../stylesheets/LoginPage.scss'
4 |
5 | interface LoginPageProps {
6 | userId: string;
7 | setUserId: React.Dispatch