mirror of
https://github.com/Permissionless-Software-Foundation/bch-dex-taker-v2.git
synced 2026-09-21 16:52:01 -07:00
more refactoring to reduce props
This commit is contained in:
+3
-7
@@ -141,16 +141,12 @@ function App (props) {
|
||||
return (
|
||||
<>
|
||||
<LoadScripts />
|
||||
<NavMenu menuHandler={onMenuClick} />
|
||||
<NavMenu menuHandler={onMenuClick} appData={appData} />
|
||||
|
||||
{
|
||||
showStartModal
|
||||
? (<UninitializedView
|
||||
appData={appData}
|
||||
/>)
|
||||
: (<InitializedView
|
||||
appData={appData}
|
||||
/>)
|
||||
? (<UninitializedView appData={appData} />)
|
||||
: (<InitializedView appData={appData} />)
|
||||
}
|
||||
|
||||
<SelectServerButton menuHandler={onMenuClick} />
|
||||
|
||||
Reference in New Issue
Block a user