Falko Schindler vor 1 Jahr
Ursprung
Commit
b884497d89
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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:
 def get_slot() -> Slot:
     """Return the current slot."""
     """Return the current slot."""
-    return Slot.get_stack()[-1]
+    return get_slot_stack()[-1]
 
 
 
 
 def get_client() -> Client:
 def get_client() -> Client: