From 0cc89996c6696ef840ea1a09516e0813fa4544ff Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Wed, 15 May 2024 00:00:54 -0300 Subject: [PATCH] forgot this --- src/webpack/common/stores.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webpack/common/stores.ts b/src/webpack/common/stores.ts index f0cce76ce..9c8d4cadb 100644 --- a/src/webpack/common/stores.ts +++ b/src/webpack/common/stores.ts @@ -24,7 +24,7 @@ export const Flux = findByProps("connectStores"); export type GenericStore = t.FluxStore & Record; -export const { DraftType }: { DraftType: typeof t.DraftType; } = findByPropsLazy("DraftType"); +export const DraftType = find(filters.byProps("DraftType"), m => m.DraftType); // This is not actually a FluxStore export const PrivateChannelsStore = findByProps("openPrivateChannel");