diff --git a/newswires/client/src/App.tsx b/newswires/client/src/App.tsx
index 8052e193..2441b2c8 100644
--- a/newswires/client/src/App.tsx
+++ b/newswires/client/src/App.tsx
@@ -56,45 +56,6 @@ export function App() {
max-height: 100vh;
`}
>
- {!isPoppedOut && (
-
-
-
-
- Newswires
-
-
-
-
-
-
-
- {
-
- window.open(
- configToUrl({
- ...config,
- view: 'feed',
- itemId: undefined,
- }),
- '_blank',
- 'popout=true,width=400,height=800,top=200,location=no,menubar=no,toolbar=no',
- )
- }
- >
- New ticker
-
- }
-
-
- )}
{status === 'offline' && (
@@ -110,9 +72,55 @@ export function App() {
)}
- {status !== 'error' &&
- state.queryData &&
- state.queryData.results.length > 0 && (
+
+ {!isPoppedOut && (
+
+
+
+
+ Newswires
+
+
+
+
+
+
+
+ {
+
+ window.open(
+ configToUrl({
+ ...config,
+ view: 'feed',
+ itemId: undefined,
+ }),
+ '_blank',
+ 'popout=true,width=400,height=800,top=200,location=no,menubar=no,toolbar=no',
+ )
+ }
+ >
+ New ticker
+
+ }
+
+
+ )}
+ {status !== 'error' && (
<>
{view === 'item' ? : }
@@ -146,27 +154,32 @@ export function App() {
>
)}
- {status == 'error' && (
-
- Retry
- ,
- handleEnterQuery(defaultQuery)}
- key="clear"
- iconType={'cross'}
- >
- Clear
- ,
- ]}
- body={Sorry, failed to load because of {state.error}
}
- hasBorder={true}
- />
- )}
+ {status == 'error' && (
+
+ Retry
+ ,
+ handleEnterQuery(defaultQuery)}
+ key="clear"
+ iconType={'cross'}
+ >
+ Clear
+ ,
+ ]}
+ body={Sorry, failed to load because of {state.error}
}
+ hasBorder={true}
+ />
+ )}
+
);