Commit a9728ca 1 parent 48903f7 commit a9728ca Copy full SHA for a9728ca
File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,10 @@ const Messages = () => {
24
24
25
25
const selectedApp = useAppSelector ( ( state ) => state . app . items . find ( ( app ) => app . id === appId ) ) ;
26
26
const apps = useAppSelector ( ( state ) => state . app . items ) ;
27
+ const appName = dispatch ( getAppName ( appId ) ) ;
28
+
27
29
const messages = useSelector ( selectMessages ) ;
28
30
const hasMore = useAppSelector ( ( state ) => state . message . hasMore ) ;
29
- const name = dispatch ( getAppName ( appId ) ) ;
30
31
const messagesLoaded = useAppSelector ( ( state ) => state . message . loaded ) ;
31
32
const hasMessages = messages . length !== 0 ;
32
33
@@ -95,7 +96,7 @@ const Messages = () => {
95
96
96
97
return (
97
98
< DefaultPage
98
- title = { name }
99
+ title = { appName }
99
100
rightControl = {
100
101
< div >
101
102
< Button
You can’t perform that action at this time.
0 commit comments