Browse Source

Support 3.9 on templates (#2065)

Nikhil Rao 1 year ago
parent
commit
d5c7cedf31
1 changed files with 2 additions and 0 deletions
  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