File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
app/client/src/pages/DataGenerator Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,9 @@ const TopicsTable: FC<TopicsTableProps> = ({ formData, topic }) => {
5252 render : ( _text : QuestionSolution , record : QuestionSolution ) => < > { record . solution } </ >
5353 } ,
5454 ]
55- const dataSource = formData . results [ topic ]
55+ console . log ( 'topic' , topic ) ;
56+ const dataSource = formData . results [ topic ] ;
57+ console . log ( 'dataSource' , dataSource ) ;
5658 return (
5759 < StyledTable
5860 columns = { cols }
@@ -87,12 +89,14 @@ interface SuccessProps {
8789 isDemo ?: boolean ;
8890}
8991const Success : FC < SuccessProps > = ( { formData, isDemo = true } ) => {
92+ console . log ( 'Success' , formData ) ;
9093 const topicTabs = formData ?. results && Object . keys ( formData . results ) . map ( ( topic , i ) => ( {
9194 key : `tab-${ i } ` ,
9295 label : < Popover content = { topic } > < Text > { topic } </ Text > </ Popover > ,
9396 value : topic . replace ( / \n / g, ' ' ) ,
9497 children : < TopicsTable formData = { formData } topic = { topic } />
9598 } ) ) ;
99+ console . log ( 'topicTabs' , topicTabs ) ;
96100 const nextStepsList = [
97101 {
98102 avatar : '' ,
You can’t perform that action at this time.
0 commit comments