From ecaea4c38d31eeedcff87516e25b79fe6394eca3 Mon Sep 17 00:00:00 2001 From: Khaleel Al-Adhami Date: Wed, 23 Oct 2024 19:44:12 -0700 Subject: [PATCH] how did this work before --- reflex/.templates/jinja/web/utils/context.js.jinja2 | 2 ++ reflex/.templates/web/utils/state.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/reflex/.templates/jinja/web/utils/context.js.jinja2 b/reflex/.templates/jinja/web/utils/context.js.jinja2 index 29328cca5..2428cfa9d 100644 --- a/reflex/.templates/jinja/web/utils/context.js.jinja2 +++ b/reflex/.templates/jinja/web/utils/context.js.jinja2 @@ -59,6 +59,8 @@ export const initialEvents = () => [ {% else %} export const state_name = undefined +export const exception_state_name = undefined + export const onLoadInternalEvent = () => [] export const initialEvents = () => [] diff --git a/reflex/.templates/web/utils/state.js b/reflex/.templates/web/utils/state.js index 5d62aab14..7d76b080a 100644 --- a/reflex/.templates/web/utils/state.js +++ b/reflex/.templates/web/utils/state.js @@ -12,7 +12,7 @@ import { onLoadInternalEvent, state_name, exception_state_name, -} from "utils/context.js"; +} from "$/utils/context.js"; import debounce from "$/utils/helpers/debounce"; import throttle from "$/utils/helpers/throttle";