Skip to content

Commit 13023ff

Browse files
committed
feature: improved ccalendar data styling
1 parent fc49de7 commit 13023ff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/articles/Articles.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ export default function Articles(props) {
5757
const final = []
5858
let add;
5959

60-
final.push(
61-
date && (<React.Fragment key={"calendar-main"}><DateCalendar {...dayData}/></React.Fragment>)
62-
)
63-
6460
if (is_authenticated) {
6561
add = (
6662
<React.Fragment key={"add-article"}>
@@ -101,5 +97,9 @@ export default function Articles(props) {
10197
</React.Fragment>
10298
))
10399

100+
final.push(
101+
date && (<React.Fragment key={"calendar-main"}><DateCalendar {...dayData}/></React.Fragment>)
102+
)
103+
104104
return final
105105
}

0 commit comments

Comments
 (0)