Skip to content

Commit

Permalink
style: changed to workweek
Browse files Browse the repository at this point in the history
  • Loading branch information
bencodes07 committed May 9, 2024
1 parent d6f65f1 commit 8bfab48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/dashboard/scheduler/Scheduler.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import { ScheduleComponent, ViewsDirective, ViewDirective, Week, Inject } from "@syncfusion/ej2-react-schedule";
import { ScheduleComponent, ViewsDirective, ViewDirective, Inject, WorkWeek } from "@syncfusion/ej2-react-schedule";
import "./scheduler.css";

function Scheduler() {
Expand All @@ -18,9 +18,9 @@ function Scheduler() {
return (
<ScheduleComponent height="650px" eventSetings={eventSettings} showHeaderBar={false}>
<ViewsDirective>
<ViewDirective option="Week" />
<ViewDirective option="WorkWeek" />
</ViewsDirective>
<Inject services={[Week]} />
<Inject services={[WorkWeek]} />
</ScheduleComponent>
);
}
Expand Down

0 comments on commit 8bfab48

Please sign in to comment.