mirror of
https://github.com/block/buzz.git
synced 2026-12-01 13:42:45 +00:00
fix(drafts): stop clearing drafts on workspace switch and hide sent section (#1708)
Signed-off-by: Will Pfleger <pfleger.will@gmail.com> Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
* time.
|
||||
*
|
||||
* Returns the key when a draft was actually persisted in the store before the
|
||||
* send fired (so a sent record should be written), or null when no entry
|
||||
* exists (fast / never-persisted send — no sent record should be written).
|
||||
* send fired (so the active draft should be cleared on send), or null when no
|
||||
* entry exists (fast / never-persisted send — no active draft to clear).
|
||||
*
|
||||
* This is a pure function with no dependencies so it can be imported and
|
||||
* exercised directly in Node .mjs tests without a React renderer.
|
||||
|
||||
Reference in New Issue
Block a user