diff --git a/src/Components/Api/Api.tsx b/src/Components/Api/Api.tsx index e5ec623..cb3e0b2 100644 --- a/src/Components/Api/Api.tsx +++ b/src/Components/Api/Api.tsx @@ -10,7 +10,7 @@ import { // Note APIs const instance = axios.create({ - baseURL: "http://localhost:8000", + baseURL: "https://keannu125.pythonanywhere.com", }); export function GetNotes() { diff --git a/src/Components/PublicNotes/Notes.tsx b/src/Components/PublicNotes/Notes.tsx index 6889c29..5f497f8 100644 --- a/src/Components/PublicNotes/Notes.tsx +++ b/src/Components/PublicNotes/Notes.tsx @@ -1,13 +1,10 @@ import * as React from "react"; import styles from "../../styles"; import { useNavigate } from "react-router-dom"; -import Note from "../Note/Note"; import { Button } from "@mui/material"; import { useQuery } from "react-query"; import { GetPublicNotes } from "../Api/Api"; -import { useSelector } from "react-redux"; import { NoteProps } from "../../Interfaces/Interfaces"; -import { RootState } from "../../Features/Redux/Store/Store"; import PublicNote from "../PublicNote/Note"; export default function PublicNotes() {