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

#170 [Fix] section 페이지, revise 페이지 API 연결 #178

Merged
merged 5 commits into from
Apr 19, 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
2 changes: 2 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import { Navigate, useLocation } from 'react-router-dom';
import { BrowserRouter as Router, Route, Routes } from 'react-router-dom';
import { getCurrentUser } from 'aws-amplify/auth';
import { RecoilRoot } from 'recoil';

import AcceptInvite from './components/inviteTeam/AcceptInvite';

import RetroRevisePage from './pages/RevisePage';
import RetroTeamPage from './pages/SectionPage';
import MainLayout from '@/components/layout/MainLayout';
Expand Down
2 changes: 2 additions & 0 deletions src/pages/SectionPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ const RetroTeamPage = () => {
const fetchRetrospective = async () => {
try {
const data = await RetrospectiveService.onlyGet({ retrospectiveId: retrospectiveId });

console.log('retro.data', data.data);
setRetro(data.data);
console.log('retro', retro);

} catch (e) {
toast.error(e);
}
Expand Down
Loading