Removed startBlock
This commit is contained in:
parent
8f075645dd
commit
5fa27e0906
1 changed files with 7 additions and 12 deletions
|
|
@ -1,17 +1,12 @@
|
|||
import { useState } from 'react';
|
||||
import Logo from './Logo';
|
||||
import StartBlock from './StartBlock';
|
||||
import ScanBlocks from './ScanBlocks';
|
||||
|
||||
const MainColumn = () => {
|
||||
const [scan, setScan] = useState(false);
|
||||
return (
|
||||
const MainColumn = () => (
|
||||
<div className="centerBlockOuter">
|
||||
<div className="centerBlockInner">
|
||||
<Logo />
|
||||
{scan ? <ScanBlocks /> : <StartBlock setScan={setScan} />}
|
||||
<ScanBlocks />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
export default MainColumn;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue