Skip to content

Commit

Permalink
Merge pull request #188 from imi21123/test
Browse files Browse the repository at this point in the history
Style: HomePage Footer FontStyle 변경
  • Loading branch information
marinesnow34 authored Jan 11, 2024
2 parents b5d7603 + b8f3932 commit 59c6503
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
6 changes: 4 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ import ReadyPage from "./pages/ReadyPage/ReadyPage";
function App() {
const [cookies, , removeCookies] = useCookies();
const navigate = useNavigate();
const apiUrl = process.env.REACT_APP_API_ROOT;
const apiRoot = process.env.REACT_APP_API_ROOT;
const apiVer = "api/v1";
const apiUrl = `${apiRoot}/${apiVer}/refresh/token`;
// const navigate = useNavigate();
// // const [isLoggedIn, setisLoggedIn] = useRecoilState(isAuthenticatedState); // 인증 상태 (로그인이 되어있으면 true, 아니면 false)
// // 토큰 받아서 시간관리
Expand Down Expand Up @@ -79,7 +81,7 @@ function App() {
withCredentials: true,
};
axios
.get(`${apiUrl}/api/v1/refresh/token`, config)
.get(apiUrl, config)
.then((response) => {
// 현재 쿠키 삭제
if (!response.data) {
Expand Down
1 change: 0 additions & 1 deletion src/hooks/useFetchCartData.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import axios from "axios";
const apiRoot = process.env.REACT_APP_API_ROOT;

const useFetchCartData = (cartId) => {
// const [paymentData, setPaymentData] = useState(null);
const [cartIdApi, setCartIdApi] = useState(0);
const [carts, setCarts] = useState([]);
const [edit, setEdit] = useState(false);
Expand Down
6 changes: 4 additions & 2 deletions src/pages/HomePage/Homepage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ function Homepage() {
style={{
marginTop: "10px",
fontSize: "11px",
fontFamily: "Regular",
fontFamily: "Pretendard Variable",
fontStyle: "Regular",
}}
>
레디베리는 통신판매중개자이며, 통신판매의 당사자가 아닙니다.
Expand All @@ -157,7 +158,8 @@ function Homepage() {
<div
style={{
fontSize: "11px",
fontFamily: "Regular",
fontFamily: "Pretendard Variable",
fontStyle: "Regular",
}}
>
따라서 레디베리는 상품거래 정보 및 거래에 대한 책임을 지지않습니다.
Expand Down

0 comments on commit 59c6503

Please sign in to comment.