From 68b45272338390e2144527f8082940586db35714 Mon Sep 17 00:00:00 2001 From: Khaleel Al-Adhami Date: Wed, 2 Oct 2024 12:07:31 -0700 Subject: [PATCH] check against none Co-authored-by: Masen Furer --- reflex/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reflex/app.py b/reflex/app.py index bea7049cd..2bc88fded 100644 --- a/reflex/app.py +++ b/reflex/app.py @@ -546,8 +546,8 @@ class App(MiddlewareMixin, LifespanMixin, Base): self.unevaluated_pages[route] = UnevaluatedPage( component=component, route=route, - title=title or constants.DefaultPage.TITLE, - description=description or constants.DefaultPage.DESCRIPTION, + title=title if title is not None else constants.DefaultPage.TITLE, + description=description if description is not None else constants.DefaultPage.DESCRIPTION, image=image, on_load=on_load, meta=meta,