File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,14 @@ export default function AllUsers() {
9
9
const [ users , setUsers ] = useState ( [ ] ) ;
10
10
const data = useRef ( [ ] ) ;
11
11
const getAllUsers = async ( ) => {
12
- const querySnapshot = await getDocs ( collection ( db , "users " ) ) ;
12
+ const querySnapshot = await getDocs ( collection ( db , "cS-Saturdays " ) ) ;
13
13
querySnapshot . forEach ( ( d ) => {
14
14
const user = d . data ( ) ;
15
15
data . current . push ( {
16
16
rollNumber : user . roll ,
17
17
name : user . name ,
18
18
email : user . email ,
19
- college : user . college ,
19
+ // college: user.college,
20
20
phone : user . phone ,
21
21
year : user . year ,
22
22
department : user . branch ,
@@ -47,9 +47,9 @@ export default function AllUsers() {
47
47
< tr >
48
48
< th > Roll Number</ th >
49
49
< th > Name</ th >
50
- < th > College</ th >
50
+ { /* <th>College</th> */ }
51
51
< th > Email / Mobile </ th >
52
- < th > member 2</ th >
52
+ { /* <th>member 2</th> */ }
53
53
< th > Department</ th >
54
54
< th > What fascinates u about programming ?</ th >
55
55
< th > Any programming experience?</ th >
@@ -64,11 +64,11 @@ export default function AllUsers() {
64
64
< Checkbox label = { user . roll } />
65
65
</ td >
66
66
< td > { user . name } </ td >
67
- < td > { user . college } </ td >
67
+ { /* <td>{user.college}</td> */ }
68
68
< td >
69
69
{ user . email } --- { user . phone }
70
70
</ td >
71
- { user . name2 ?< > < td > { user . name2 } -{ user . roll2 } </ td > </ > :< > none</ > }
71
+ { /* { user.name2?<><td>{user.name2}-{user.roll2}</td></>:<>none</> } */ }
72
72
73
73
< td >
74
74
{ user . branch } , { user . section } , { user . year } year
You can’t perform that action at this time.
0 commit comments