Skip to content

Commit fb059ee

Browse files
taidaiifacebook-github-bot
authored andcommitted
debug: include submodules state when taking object snapshots
Summary: In dev mode there's a button to take snapshots of jotai states. Adding submodules for convenience. Reviewed By: evangrayk Differential Revision: D83270096 fbshipit-source-id: cee55c2e191eba986f48ff7aeac8d7449f78e275
1 parent 0d12cdf commit fb059ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

addons/isl/src/debug/getInterestingAtoms.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
latestUncommittedChangesData,
2424
mergeConflicts,
2525
repositoryData,
26+
submodulesByRoot,
2627
} from '../serverAPIState';
2728

2829
export type UIStateSnapshot = {[key: string]: Json};
@@ -47,6 +48,7 @@ function listInterestingAtoms(): Array<AtomOrFamily> {
4748
uncommittedSelection,
4849
// These are atomFamilies.
4950
editedCommitMessages,
51+
submodulesByRoot,
5052
];
5153
}
5254

0 commit comments

Comments
 (0)