Skip to content

Commit

Permalink
fix: date-fns import
Browse files Browse the repository at this point in the history
  • Loading branch information
Renovamen committed Mar 16, 2024
1 parent db51b49 commit 5d12099
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/Spotlight.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import format from "date-fns/format";
import { format } from "date-fns";
import { apps, launchpadApps } from "~/configs";
import type { LaunchpadData, AppsData } from "~/types";

Expand Down Expand Up @@ -311,7 +311,7 @@ export default function Spotlight({
alt={curDetails.title}
title={curDetails.title}
/>
<div mt-4 text="xl c-black">
<div m="t-4" text="xl c-black">
{curDetails.title}
</div>
<div text="xs c-500">
Expand Down
2 changes: 1 addition & 1 deletion src/components/apps/FaceTime.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Webcam from "react-webcam";
import format from "date-fns/format";
import { format } from "date-fns";

interface SidebarProps {
state: FaceTimeState;
Expand Down
2 changes: 1 addition & 1 deletion src/components/menus/TopBar.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import format from "date-fns/format";
import { format } from "date-fns";
import { isFullScreen } from "~/utils";
import { music } from "~/configs";
import type { MacActions } from "~/types";
Expand Down

0 comments on commit 5d12099

Please sign in to comment.