Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
sushitommy committed Dec 19, 2024
1 parent 5604868 commit 208c24f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/grid/src/template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ export const Grid: React.FC<IGridProps> = ({
division,
children,
}: IGridProps) => {
const getColumnCount = (columnName: string): number => {
const getColumnCount = (columnName: string | undefined): number => {
if (!columnName) {
return 1;
}
const columnMap: { [key: string]: number } = {
one: 1,
two: 2,
Expand Down

0 comments on commit 208c24f

Please sign in to comment.