Skip to content

Commit

Permalink
compiler issues and minor bugs (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbjoralt authored Nov 8, 2023
1 parent 8e788df commit dbe26ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions frontend/src/components/InfoPillDescriptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export default function InfoPillDescriptions() {
text={"Booking"}
colors="bg-primary_l5 text-black"
icon={<Briefcase size="12" />}
variant={"wide"}
/>
<InfoPill
text={"Ledig tid"}
Expand Down Expand Up @@ -51,6 +52,7 @@ export default function InfoPillDescriptions() {
text={"Fravær"}
colors="bg-absence_light text-absence_dark"
icon={<Moon size="12" />}
variant={"wide"}
/>
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/hooks/useFilteredConsultants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export function useFilteredConsultants() {
})
: DateTime.now();

let newDate = date.plus({ week: weekSpan - 1 });
let newDate = date.minus({ week: weekSpan - 1 });
updateRoute({
week: { year: newDate.year, weekNumber: newDate.weekNumber },
});
Expand Down

0 comments on commit dbe26ec

Please sign in to comment.