Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
codekansas committed Sep 11, 2024
1 parent c0af204 commit 14db232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/landing/HeroASCIIArt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ const getCharForPosition = (
x: number,
y: number,
): string => {
if (!grid[y][x]) return " ";
if (!grid || !grid[y] || !grid[y][x]) return " ";

const top = y > 0 && grid[y - 1][x];
const bottom = y < grid.length - 1 && grid[y + 1][x];
Expand Down

0 comments on commit 14db232

Please sign in to comment.