Browse Source

Support 3.9 on templates (#2065)

Nikhil Rao 1 năm trước cách đây
mục cha
commit
d5c7cedf31
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      reflex/.templates/apps/base/code/templates/template.py

+ 2 - 0
reflex/.templates/apps/base/code/templates/template.py

@@ -1,5 +1,7 @@
 """Common templates used between pages in the app."""
 
+from __future__ import annotations
+
 from code import styles
 from code.components.sidebar import sidebar
 from typing import Callable