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: