Skip to content

Commit f5c705c

Browse files
committed
fix: ignore boolean hackathon text values
1 parent e8f504f commit f5c705c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

components/Activity/Hackathon/utility.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ type TextListLike = TextLike | TextLike[];
3939

4040
const textOf = (value: TextLike) => {
4141
if (value === null || value === undefined) return '';
42+
if (typeof value === 'boolean') return '';
4243

4344
if (typeof value === 'object' && !Array.isArray(value)) {
4445
const {

0 commit comments

Comments
 (0)