Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
fix: update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
KaneFreeman committed Apr 26, 2024
1 parent 740a45c commit 29ad73e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions packages/docs/src/components/DateDisplay.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import { addMinutes } from 'date-fns/addMinutes';
import { format } from 'date-fns/format';
import { parseISO } from 'date-fns/parseISO';
import { addMinutes, format, parseISO } from 'date-fns';
import { useEffect, useState } from 'react';

function formatDate(date: Date, dateFormat: string) {
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/src/components/meta/JsonLdMeta.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { formatISO } from 'date-fns/formatISO';
import { formatISO } from 'date-fns';
import Head from 'next/head';
import { jsonLdScriptProps } from 'react-schemaorg';

Expand Down
3 changes: 1 addition & 2 deletions packages/docs/src/pages/releases.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import AlertTitle from '@mui/material/AlertTitle';
import Box from '@mui/material/Box';
import Typography from '@mui/material/Typography';
import { styled } from '@mui/material/styles';
import { format } from 'date-fns/format';
import { parseISO } from 'date-fns/parseISO';
import { format, parseISO } from 'date-fns';
import Link from 'next/link';
import { useMemo } from 'react';

Expand Down

0 comments on commit 29ad73e

Please sign in to comment.