From 95eb6f56686791ecaa8af7ba03f40c2e5535c41b Mon Sep 17 00:00:00 2001 From: TheRealSharKzy~ Date: Wed, 3 Apr 2024 17:55:54 +0200 Subject: [PATCH] refactor(frontend): adding the code on the invite page --- expo/app/(tabs)/rooms/[id]/invite.tsx | 43 +++++++++++++++++++-------- 1 file changed, 31 insertions(+), 12 deletions(-) diff --git a/expo/app/(tabs)/rooms/[id]/invite.tsx b/expo/app/(tabs)/rooms/[id]/invite.tsx index 6f48d3cb..16f25021 100644 --- a/expo/app/(tabs)/rooms/[id]/invite.tsx +++ b/expo/app/(tabs)/rooms/[id]/invite.tsx @@ -10,6 +10,7 @@ import { useEffect, useState } from "react"; import { Alert, Platform, StyleSheet } from "react-native"; import Button from "../../../../components/Button"; +import CustomTextInput from "../../../../components/CustomTextInput"; import { View } from "../../../../components/Themed"; import { supabase } from "../../../../lib/supabase"; @@ -60,19 +61,26 @@ export default function InvitationModal() { return ( - - {isCopied ? ( - + ) : ( + + )} + - ) : ( - - )} - +