When we encounter profiles that have already been saved in the db, we need to be able to switch between values scraped on the linkedin profile and values stored in Notion.
Solution
I created a toggle switch in the design system which controls a 'checked' state. Depending on the value of checked, we switch between LI and Notion values.
To-do
[x] Handle the case where notionValues is empty because atm, we have default values such that notionValues is never empty
Context
When we encounter profiles that have already been saved in the db, we need to be able to switch between values scraped on the linkedin profile and values stored in Notion.
Solution
I created a toggle switch in the design system which controls a 'checked' state. Depending on the value of checked, we switch between LI and Notion values.
To-do
notionValues
is empty because atm, we have default values such thatnotionValues
is never empty