-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { parseVariables } from '@/features/variables/parseVariables' | ||
import { Variable, Cell } from '@typebot.io/schemas' | ||
|
||
export const parseCellValues = | ||
(variables: Variable[]) => | ||
(cells: Cell[]): { [key: string]: string } => | ||
cells.reduce((row, cell) => { | ||
return !cell.column || !cell.value | ||
? row | ||
: { | ||
...row, | ||
[cell.column]: parseVariables(variables)(cell.value), | ||
} | ||
}, {}) |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
f3af07b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
landing-page-v2 – ./apps/landing-page
landing-page-v2-typebot-io.vercel.app
get-typebot.com
www.get-typebot.com
landing-page-v2-git-main-typebot-io.vercel.app
typebot.io
www.typebot.io