Composer update (react-query refactor) (#1899)
* Move composer state to a context * Rework composer to use RQ --------- Co-authored-by: Eric Bailey <git@esb.lol>
This commit is contained in:
parent
c687172de9
commit
0a26e78dcb
32 changed files with 269 additions and 239 deletions
|
@ -89,14 +89,7 @@ const ShellInner = observer(function ShellInnerImpl() {
|
|||
</Drawer>
|
||||
</ErrorBoundary>
|
||||
</View>
|
||||
<Composer
|
||||
active={store.shell.isComposerActive}
|
||||
winHeight={winDim.height}
|
||||
replyTo={store.shell.composerOpts?.replyTo}
|
||||
onPost={store.shell.composerOpts?.onPost}
|
||||
quote={store.shell.composerOpts?.quote}
|
||||
mention={store.shell.composerOpts?.mention}
|
||||
/>
|
||||
<Composer winHeight={winDim.height} />
|
||||
<ModalsContainer />
|
||||
<Lightbox />
|
||||
</>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue