mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-18 10:44:33 +08:00
fix duplicate tabs issue
This commit is contained in:
parent
1a500bff43
commit
d39eb47e1b
@ -130,7 +130,6 @@ class TabItem(BlockContext):
|
||||
"""
|
||||
super().__init__(css)
|
||||
self.label = label
|
||||
super(TabItem, self).__init__()
|
||||
|
||||
def get_template_context(self):
|
||||
return {"label": self.label, **super().get_template_context()}
|
||||
|
Loading…
Reference in New Issue
Block a user