Skip to content

Commit

Permalink
chore: console log
Browse files Browse the repository at this point in the history
  • Loading branch information
kyoung-jnn committed Apr 6, 2024
1 parent 9543b86 commit be6eba6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions src/components/MyWritingSwiper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,17 @@ const MyWritingSwiper = () => {
setIsLoading(true);

const { data } = await getDaybookList();
console.log("RES");
console.log(data);
setData(data);

setIsLoading(false);
})();
}, []);

console.log("====");
console.log(data);

if (isLoading) return <LoadingSpinner />;

return (
Expand Down
6 changes: 3 additions & 3 deletions src/pages/MyDaybookPage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Header from '@components/Header';
import styled from '@emotion/styled';
import MyWritingSwiper from '@components/MyWritingSwiper';
import Header from "@components/Header";
import styled from "@emotion/styled";
import MyWritingSwiper from "@components/MyWritingSwiper";

const MyDaybookPage = () => {
return (
Expand Down

0 comments on commit be6eba6

Please sign in to comment.