From edf2a4ef7f2a5397a50ac120414bcf9d125175e1 Mon Sep 17 00:00:00 2001 From: Harjot Singh Date: Tue, 23 Apr 2024 00:05:40 +0100 Subject: [PATCH] fix: add correct type to lastContentPath --- src/app/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/index.tsx b/src/app/index.tsx index 631547d6..7818c5f8 100644 --- a/src/app/index.tsx +++ b/src/app/index.tsx @@ -1,11 +1,11 @@ -import { Redirect } from 'expo-router' +import { Href, Redirect } from 'expo-router' import { getLastContentPath } from '~/services/history/last-content-path' const lastContentPath = getLastContentPath() const Index = () => ( lastContentPath - ? + ? } /> : ) export default Index