mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-04-28 08:10:36 +00:00
Format and automatically fix linted code.
This commit is contained in:
@@ -11,6 +11,6 @@ export function connectState<T>(
|
||||
mapKeys: (state: State, props: T) => any,
|
||||
memoize?: boolean,
|
||||
): ConnectedComponent<(props: any) => h.JSX.Element | null, T> {
|
||||
let c = connect(mapKeys)(component);
|
||||
const c = connect(mapKeys)(component);
|
||||
return memoize ? memo(c) : c;
|
||||
}
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
export type Experiments = 'search';
|
||||
export const AVAILABLE_EXPERIMENTS: Experiments[] = [ 'search' ];
|
||||
export const EXPERIMENTS: { [key in Experiments]: { title: string, description: string } } = {
|
||||
'search': {
|
||||
title: 'Search',
|
||||
description: 'Allows you to search for messages in channels.'
|
||||
}
|
||||
export type Experiments = "search";
|
||||
export const AVAILABLE_EXPERIMENTS: Experiments[] = ["search"];
|
||||
export const EXPERIMENTS: {
|
||||
[key in Experiments]: { title: string; description: string };
|
||||
} = {
|
||||
search: {
|
||||
title: "Search",
|
||||
description: "Allows you to search for messages in channels.",
|
||||
},
|
||||
};
|
||||
|
||||
export interface ExperimentOptions {
|
||||
|
||||
Reference in New Issue
Block a user