瀏覽代碼

Support 3.9 on templates (#2065)

Nikhil Rao 1 年之前
父節點
當前提交
d5c7cedf31
共有 1 個文件被更改,包括 2 次插入0 次删除
  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