Falko Schindler 1 年之前
父节点
当前提交
b884497d89
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      nicegui/context.py

+ 1 - 1
nicegui/context.py

@@ -15,7 +15,7 @@ def get_slot_stack() -> List[Slot]:
 
 def get_slot() -> Slot:
     """Return the current slot."""
-    return Slot.get_stack()[-1]
+    return get_slot_stack()[-1]
 
 
 def get_client() -> Client: