diff options
Diffstat (limited to 'client/src/components/Home.tsx')
-rw-r--r-- | client/src/components/Home.tsx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/client/src/components/Home.tsx b/client/src/components/Home.tsx index 839667a..558c104 100644 --- a/client/src/components/Home.tsx +++ b/client/src/components/Home.tsx @@ -1,6 +1,5 @@ import React from 'react'; import { useEffect, useRef, useState } from 'react'; -import './active.css'; function Home() { const [index, setIndex] = useState(0); @@ -49,23 +48,6 @@ function Home() { /> ))} </div> - <div style={{ display: 'flex', justifyContent: 'center' }}> - {colors.map((_, colorIndex) => ( - <div - key={colorIndex} - style={{ - height: '0.75rem', - width: '0.75rem', - borderRadius: '50%', - margin: '0.75rem', - }} - className={colorIndex === index ? 'active' : 'inactive'} - onClick={() => { - setIndex(colorIndex); - }} - /> - ))} - </div> </div> ); } |