File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -35,17 +35,16 @@ import SwiftUI
3535/// }
3636/// ```
3737///
38- /// Additionally, if for some reason your app cannot use ``AtomRoot`` to manage the store
39- /// that manages the state of atoms, you can manage the store on your own and pass the instance
40- /// to ``AtomScope`` so that you can use the atoms in descendant views .
38+ /// Additionally, if for some reason your app cannot use ``AtomRoot`` to manage the store,
39+ /// you can instead manage the store on your own and pass the instance to ``AtomScope``
40+ /// to allow descendant views to use atoms.
4141///
4242/// ```swift
4343/// let store = AtomStore()
4444/// let rootView = AtomScope(store) {
4545/// RootView()
4646/// }
4747/// let window = UIWindow(frame: UIScreen.main.bounds)
48-
4948/// window.rootViewController = UIHostingController(rootView: rootView)
5049/// window.makeKeyAndVisible()
5150/// ```
You can’t perform that action at this time.
0 commit comments