mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
feat(airtable-import): remove redundant condition
This commit is contained in:
@@ -9,8 +9,6 @@ import {
|
||||
import { isValid as isValidDate, parseISO } from "date-fns";
|
||||
|
||||
export const inferTypeFromValue = (value: any) => {
|
||||
if (!value || typeof value === "function") return;
|
||||
|
||||
if (Array.isArray(value) && typeof value[0] === "string")
|
||||
return FieldType.multiSelect;
|
||||
if (typeof value === "boolean") return FieldType.checkbox;
|
||||
|
||||
Reference in New Issue
Block a user