diff --git a/app/(app)/tag/[id]/edit.tsx b/app/(app)/tag/[id]/edit.tsx index f6de8b7..43083fd 100644 --- a/app/(app)/tag/[id]/edit.tsx +++ b/app/(app)/tag/[id]/edit.tsx @@ -1,9 +1,15 @@ import Screen from '@lib/components/screen'; import EditTagModule from '@lib/modules/tags/edit_tag.module'; -import { useLocalSearchParams } from 'expo-router'; +import { useAuthStore } from '@lib/store/auth.store'; +import { Redirect, useLocalSearchParams } from 'expo-router'; export default function EditTagScreen() { const { id } = useLocalSearchParams(); + const isSignedIn = useAuthStore(); + + if (!isSignedIn) { + return ; + } return ( diff --git a/lib/components/home/note_card.tsx b/lib/components/home/note_card.tsx index 5b7266a..1c8947d 100644 --- a/lib/components/home/note_card.tsx +++ b/lib/components/home/note_card.tsx @@ -21,10 +21,11 @@ export default function NoteCard({ content, tag, expire_at, onPress }: IProps) { onPress={onPress} borderRadius="$5" p="$5" - bg="$backgroundHover" + bg="$backgroundFocus" cursor="pointer" animation="bouncy" - hoverStyle={{ scale: 0.98, bg: '$backgroundHover' }} + hoverStyle={{ scale: 0.98, bg: '$backgroundPress' }} + pressStyle={{ scale: 0.98, bg: '$backgroundPress' }} >