mirror of
https://github.com/System-End/site.git
synced 2026-04-19 19:45:07 +00:00
change project count method
This commit is contained in:
parent
13d625b480
commit
566fa7171b
1 changed files with 1 additions and 1 deletions
|
|
@ -210,7 +210,7 @@ const Vote = () => {
|
|||
/* get projects */
|
||||
const [originalProjects, setOriginalProjects] = useState([])
|
||||
const [projects, setProjects] = useState([])
|
||||
const projectCount = Object.keys(originalProjects).length
|
||||
const projectCount = originalProjects.length
|
||||
|
||||
/* for showing individual projects */
|
||||
const [openProjectId, setOpenProjectId] = useState('')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue