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

Commit

Permalink
fix: docs site after date fns update
Browse files Browse the repository at this point in the history
  • Loading branch information
KaneFreeman committed Apr 26, 2024
1 parent ebc68e3 commit 740a45c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions packages/docs/src/components/DateDisplay.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import addMinutes from 'date-fns/addMinutes';
import format from 'date-fns/format';
import parseISO from 'date-fns/parseISO';
import { addMinutes } from 'date-fns/addMinutes';
import { format } from 'date-fns/format';
import { parseISO } from 'date-fns/parseISO';
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/formatISO';
import Head from 'next/head';
import { jsonLdScriptProps } from 'react-schemaorg';

Expand Down
4 changes: 2 additions & 2 deletions packages/docs/src/pages/releases.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ 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 } from 'date-fns/format';
import { parseISO } from 'date-fns/parseISO';
import Link from 'next/link';
import { useMemo } from 'react';

Expand Down

0 comments on commit 740a45c

Please sign in to comment.