Rodja Trappe 4 dní pred
rodič
commit
e6f753892f
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      examples/search_as_you_type/main.py

+ 1 - 1
examples/search_as_you_type/main.py

@@ -22,7 +22,7 @@ async def search(e: events.ValueChangeEventArguments) -> None:
     response = await running_query
     response = await running_query
     if response.text == '':
     if response.text == '':
         return
         return
-    with results:  # enter the context of the the results row
+    with results:  # enter the context of the results row
         for drink in response.json()['drinks'] or []:  # iterate over the response data of the api
         for drink in response.json()['drinks'] or []:  # iterate over the response data of the api
             with ui.image(drink['strDrinkThumb']).classes('w-64'):
             with ui.image(drink['strDrinkThumb']).classes('w-64'):
                 ui.label(drink['strDrink']).classes('absolute-bottom text-subtitle2 text-center')
                 ui.label(drink['strDrink']).classes('absolute-bottom text-subtitle2 text-center')