mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-08 00:32:19 +02:00
Merge pull request #4770 from thelounge/smallTScleanup
This commit is contained in:
commit
9f05a75c39
|
@ -90,8 +90,7 @@ export type State = {
|
|||
searchEnabled: boolean;
|
||||
};
|
||||
|
||||
const state = () =>
|
||||
({
|
||||
const state = (): State => ({
|
||||
appLoaded: false,
|
||||
activeChannel: undefined,
|
||||
currentUserVisibleError: null,
|
||||
|
@ -114,7 +113,7 @@ const state = () =>
|
|||
messageSearchResults: null,
|
||||
messageSearchPendingQuery: null,
|
||||
searchEnabled: false,
|
||||
} as State);
|
||||
});
|
||||
|
||||
type Getters = {
|
||||
findChannelOnCurrentNetwork: (state: State) => (name: string) => ClientChan | undefined;
|
||||
|
|
Loading…
Reference in a new issue