Skip to content

Commit

Permalink
name devStore functions, remove everything else
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaskasky committed Jan 6, 2025
1 parent e8c5915 commit ad79aaf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/vanilla/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,6 @@ type AtomState<Value = AnyValue> = {
e?: AnyError
/** Indicates that the atom value has been changed */
x?: true
/** Debug label for the atom. */
_?: string | undefined
}

const isAtomStateInitialized = <Value>(atomState: AtomState<Value>) =>
Expand Down Expand Up @@ -763,7 +761,6 @@ const deriveDevStoreRev4 = (store: Store): Store & DevStoreRev4 => {
debugMountedAtoms.delete(atom)
}
}
atomState._ = atom.debugLabel
}
storeArgs[3] = function devAtomWrite(atom, getter, setter, ...args) {
if (inRestoreAtom) {
Expand Down

0 comments on commit ad79aaf

Please sign in to comment.