Skip to content

Commit

Permalink
Refactor DotGrid component to remove unused code and commented out se…
Browse files Browse the repository at this point in the history
…ctions
  • Loading branch information
Daniel264 committed Sep 26, 2024
1 parent 694a9ba commit eec650a
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions src/components/DotGrid.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@

const WaterDropGrid = () => {
return (
<div>
<div className="relative grid h-screen place-content-center bg-slate-900">
<DotGrid />
</div>
)
);
};

const GRID_WIDTH = 25;
const GRID_HEIGHT = 25;

const DotGrid = () => {
return <div></div>
}
const dots = [];
let index = 0;

for (let i = 0; i < GRID_WIDTH; i++) {
for (let j = 0; j < GRID_HEIGHT; j++) {
// dots.push(
// <Dot key={index} x={i} y={j} />
// );
// index++;
}
}
return <div></div>;
};

export default WaterDropGrid;
export default WaterDropGrid;

0 comments on commit eec650a

Please sign in to comment.