Skip to content

Commit bb756ad

Browse files
committed
fix docs
1 parent 3fe82fa commit bb756ad

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/py/reactpy/reactpy/core/_life_cycle_hook.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,8 @@ class LifeCycleHook:
4141
4242
.. testcode::
4343
44-
from reactpy.core.hooks import (
45-
current_hook,
46-
LifeCycleHook,
47-
COMPONENT_DID_RENDER_EFFECT,
48-
)
49-
44+
from reactpy.core._life_cycle_hooks import LifeCycleHook
45+
from reactpy.core.hooks import current_hook, COMPONENT_DID_RENDER_EFFECT
5046
5147
# this function will come from a layout implementation
5248
schedule_render = lambda: ...

0 commit comments

Comments
 (0)