Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontend#217/코드 리팩토링 #226

Merged
merged 10 commits into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions frontend/src/Component/Mainpage/OrganizationDetails.js

This file was deleted.

21 changes: 0 additions & 21 deletions frontend/src/Component/Note/NoteDetail.js

This file was deleted.

4 changes: 1 addition & 3 deletions frontend/src/Component/Note/NotePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import React, { useState, useEffect, useRef } from "react";
import { useParams, Link, Route, Routes, useNavigate, useLocation } from "react-router-dom";
import styled, { keyframes, css } from "styled-components";
import OrganizationInfoModal from "./organizationInfo/organizationInfo";
import ImagetoBackend from "../imageToBackend";
import NoteDetail from "./NoteDetail";
import ImagetoBackend from "../Utils/imageToBackend";
import defaultImage from "../../image/NoneImage2.png";
import { ReactComponent as AddNoteIcon } from "../../image/addNote.svg";
import toastr from "toastr";
Expand Down Expand Up @@ -381,7 +380,6 @@ function NotePage() {
{notes.map((note) => (
<Route
path={`/organization/${organizationId}/${note.id}/${note.pageId}`}
element={<NoteDetail note={note} notes={notes} />}
key={note.id}
/>
))}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import styled from "styled-components";
import toastr from "toastr";
import "toastr/build/toastr.css";


const OrganizationInfoModal = ({
modalOpen,
handleCloseModal,
Expand Down
Loading
Loading