forked from tanner/qotnews
Misc fixes
This commit is contained in:
@@ -99,8 +99,6 @@ function App() {
|
||||
<br />
|
||||
<span className='slogan'>Hacker News, Reddit, Lobsters, and Tildes articles rendered in reader mode.</span>
|
||||
</p>
|
||||
<Route path='/(|search)' component={Search} />
|
||||
<Route path='/(|search)' component={Submit} />
|
||||
{fullScreenAvailable &&
|
||||
<Route path='/(|search)' render={() => !isFullScreen ?
|
||||
<button className='fullscreen' onClick={() => goFullScreen()}>Enter Fullscreen</button>
|
||||
@@ -108,6 +106,8 @@ function App() {
|
||||
<button className='fullscreen' onClick={() => exitFullScreen()}>Exit Fullscreen</button>
|
||||
} />
|
||||
}
|
||||
<Route path='/(|search)' component={Search} />
|
||||
<Route path='/(|search)' component={Submit} />
|
||||
</div>
|
||||
|
||||
<Route path='/' exact render={(props) => <Feed {...props} updateCache={updateCache} />} />
|
||||
|
||||
Reference in New Issue
Block a user