@@ -94,70 +94,68 @@ export default class App extends Component<Props> {
9494 }
9595
9696 return (
97- < React . StrictMode >
98- < div className = "scenes" >
99- < div
100- className = { `scenes-container scenes-container-active-${ getSceneIndex (
101- this . props . location . type
102- ) } `}
103- >
104- < Tabs
105- data = { this . props . tabs }
106- visible = { this . props . currentLocation === ROUTE_TABS }
107- checkingRemoteTab = { this . props . checkingRemoteTab }
108- remoteTabError = { this . props . remoteTabError }
109- createTabInputValue = { this . props . createTabInputValue }
110- importTabInputValue = { this . props . importTabInputValue }
111- onTabClick = { this . props . onSelectTab }
112- onCreateTabInputChange = { this . props . onCreateTabInputChange }
113- onCreateNewTab = { this . props . onCreateTab }
114- onImportTabInputChange = { this . props . onImportTabInputChange }
115- onImportTab = { this . props . onImportTab }
116- />
117- < Main
118- tabInfo = { this . props . tabInfo }
119- tabId = { this . props . location . payload . tabId }
120- accounts = { this . props . accounts }
121- transactions = { this . props . transactions }
122- total = { this . props . total }
123- visible = { this . props . currentLocation === ROUTE_TAB }
124- checkingRemoteTab = { this . props . checkingRemoteTab }
125- remoteTabError = { this . props . remoteTabError }
126- importingTab = { this . props . importingTab }
127- onChangeTabClick = { this . props . onNavigateToTabs }
128- onNavigateToAddTransaction = { this . props . onNavigateToAddTransaction }
129- onDetailsClick = { this . props . onNavigateToUpdateTransaction }
130- />
131- < div className = "scene editEntryScene" >
132- { this . getShowEditEntry ( ) && (
133- < EditEntry
134- visible = {
135- this . props . currentLocation === ROUTE_TRANSACTION ||
136- this . props . currentLocation === ROUTE_NEW_TRANSACTION
137- }
138- mode = { this . getEditEntryMode ( ) }
139- formState = { this . props . transactionFormState }
140- checkingRemoteTab = { this . props . checkingRemoteTab }
141- remoteTabError = { this . props . remoteTabError }
142- importingTab = { this . props . importingTab }
143- onChangeTabClick = { this . props . onNavigateToTabs }
144- onCloseClick = { this . props . onCloseTransaction }
145- onSave = { this . props . onAddOrUpdateTransaction }
146- onDelete = { this . props . onRemoveTransaction }
147- onUpdateForm = { this . props . onUpdateTransactionForm }
148- onUpdateSharedForm = { this . props . onUpdateTransactionSharedForm }
149- onUpdateDirectForm = { this . props . onUpdateTransactionDirectForm }
150- onUpdateParticipant = {
151- this . props . onUpdateTransactionParticipant
152- }
153- onAddParticipant = { this . props . onAddParticipant }
154- onSetAllJoined = { this . props . onSetAllJoined }
155- />
156- ) }
157- </ div >
97+ < div className = "scenes" >
98+ < div
99+ className = { `scenes-container scenes-container-active-${ getSceneIndex (
100+ this . props . location . type
101+ ) } `}
102+ >
103+ < Tabs
104+ data = { this . props . tabs }
105+ visible = { this . props . currentLocation === ROUTE_TABS }
106+ checkingRemoteTab = { this . props . checkingRemoteTab }
107+ remoteTabError = { this . props . remoteTabError }
108+ createTabInputValue = { this . props . createTabInputValue }
109+ importTabInputValue = { this . props . importTabInputValue }
110+ onTabClick = { this . props . onSelectTab }
111+ onCreateTabInputChange = { this . props . onCreateTabInputChange }
112+ onCreateNewTab = { this . props . onCreateTab }
113+ onImportTabInputChange = { this . props . onImportTabInputChange }
114+ onImportTab = { this . props . onImportTab }
115+ />
116+ < Main
117+ tabInfo = { this . props . tabInfo }
118+ tabId = { this . props . location . payload . tabId }
119+ accounts = { this . props . accounts }
120+ transactions = { this . props . transactions }
121+ total = { this . props . total }
122+ visible = { this . props . currentLocation === ROUTE_TAB }
123+ checkingRemoteTab = { this . props . checkingRemoteTab }
124+ remoteTabError = { this . props . remoteTabError }
125+ importingTab = { this . props . importingTab }
126+ onChangeTabClick = { this . props . onNavigateToTabs }
127+ onNavigateToAddTransaction = { this . props . onNavigateToAddTransaction }
128+ onDetailsClick = { this . props . onNavigateToUpdateTransaction }
129+ />
130+ < div className = "scene editEntryScene" >
131+ { this . getShowEditEntry ( ) && (
132+ < EditEntry
133+ visible = {
134+ this . props . currentLocation === ROUTE_TRANSACTION ||
135+ this . props . currentLocation === ROUTE_NEW_TRANSACTION
136+ }
137+ mode = { this . getEditEntryMode ( ) }
138+ formState = { this . props . transactionFormState }
139+ checkingRemoteTab = { this . props . checkingRemoteTab }
140+ remoteTabError = { this . props . remoteTabError }
141+ importingTab = { this . props . importingTab }
142+ onChangeTabClick = { this . props . onNavigateToTabs }
143+ onCloseClick = { this . props . onCloseTransaction }
144+ onSave = { this . props . onAddOrUpdateTransaction }
145+ onDelete = { this . props . onRemoveTransaction }
146+ onUpdateForm = { this . props . onUpdateTransactionForm }
147+ onUpdateSharedForm = { this . props . onUpdateTransactionSharedForm }
148+ onUpdateDirectForm = { this . props . onUpdateTransactionDirectForm }
149+ onUpdateParticipant = {
150+ this . props . onUpdateTransactionParticipant
151+ }
152+ onAddParticipant = { this . props . onAddParticipant }
153+ onSetAllJoined = { this . props . onSetAllJoined }
154+ />
155+ ) }
158156 </ div >
159157 </ div >
160- </ React . StrictMode >
158+ </ div >
161159 ) ;
162160 }
163161}
0 commit comments