1
0
Nikhil Rao 1 жил өмнө
parent
commit
2a92aba3a2

+ 1 - 1
pynecone/components/navigation/link.py

@@ -27,4 +27,4 @@ class Link(ChakraComponent):
     is_external: Var[bool]
 
     def _get_imports(self) -> imports.ImportDict:
-        return {**super()._get_imports(), **NextLink(href=self.href)._get_imports()}
+        return {**super()._get_imports(), **NextLink.create()._get_imports()}