Skip to content

Commit

Permalink
chore: chore: fix capitalisation part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
rossbulat committed Nov 12, 2024
1 parent 186a8ef commit daa318b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/hooks/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ export * from "./useEffectIgnoreInitial";
export * from "./useOnResize";
export * from "./useOutsideAlerter";
export * from "./useSize";
export * from "./useTime";
export * from "./useTimeLeft";
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion library/hooks/src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SPDX-License-Identifier: GPL-3.0-only */

import { TimeleftDuration } from "@w3ux/types";
import { differenceInDays, getUnixTime, intervalToDuration } from "date-fns";
import { defaultDuration } from "./useTime/defaults";
import { defaultDuration } from "./useTimeLeft/defaults";

// calculates the current timeleft duration.
export const getDuration = (toDate: Date | null): TimeleftDuration => {
Expand Down

0 comments on commit daa318b

Please sign in to comment.