Skip to content

Commit

Permalink
refactor(frontend) : removing the getApiUrl since I'm now doing the s…
Browse files Browse the repository at this point in the history
…upabase request on the frontend
  • Loading branch information
TheRealSharKzy committed Feb 20, 2024
1 parent 57e822d commit 84c8790
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions expo/components/UserRoomHistory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { FlatList, StyleSheet } from "react-native";
import Alert from "./Alert";
import RoomHistoryInfoCard from "./RoomHistoryInfoCard";
import { Text, View } from "./Themed";
import { getApiUrl } from "../lib/apiUrl";
import { supabase } from "../lib/supabase";
import { useUserProfile } from "../lib/userProfile";

Expand All @@ -15,7 +14,6 @@ export default function UserRoomHistory() {
const [rooms, setRooms] = useState<Room[]>([]);
const [roomUser, setRoomUser] = useState<RoomUserAndRoom[]>([]);
const [loading, setLoading] = useState(true);
const baseUrl = getApiUrl();

useEffect(() => {
(async () => {
Expand Down

0 comments on commit 84c8790

Please sign in to comment.