Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VCCI-News
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Văn Hoàng
VCCI-News
Commits
c9b28cbf
Commit
c9b28cbf
authored
Jun 11, 2026
by
Lê Bảo Hồng Đức
☄
Browse files
Options
Browse Files
Download
Plain Diff
[tag]staging
parents
64932ed6
a14ace56
Pipeline
#50598
failed with stages
in 9 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
index.tsx
src/components/base/event-calendar/index.tsx
+0
-3
No files found.
src/components/base/event-calendar/index.tsx
View file @
c9b28cbf
...
...
@@ -19,11 +19,9 @@ export default function EventCalendar() {
const
[
currentMonth
,
setCurrentMonth
]
=
useState
(
new
Date
());
const
today
=
new
Date
();
// Fetch event data from API
const
{
data
}
=
useGetEvents
<
EventApiResponse
>
();
const
events
=
data
?.
responseData
.
rows
??
[];
// Calculate the days to display in the current month grid
const
days
=
useMemo
(()
=>
{
const
start
=
startOfMonth
(
currentMonth
);
const
end
=
endOfMonth
(
currentMonth
);
...
...
@@ -40,7 +38,6 @@ export default function EventCalendar() {
return
result
;
},
[
currentMonth
]);
// Helper: get all events for a specific day
const
getEventForDay
=
(
date
:
Date
)
=>
events
.
filter
((
e
)
=>
isSameDay
(
new
Date
(
e
.
start_time
),
date
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment