Skip to content

Commit

Permalink
fixed imports for hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-Ross committed Mar 6, 2024
1 parent 54874c7 commit 5ddb31e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/blocks/upcomingEvents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useEffect, useState } from "react";
import type { Template } from "tinacms";
import { tinaField } from "tinacms/dist/react";

import { useFormatDates } from "hooks/useFormatDates";
import { useFormatDates } from "../../hooks/useFormatDates";
import { EventInfo } from "../../services/server/events";
import { CustomLink } from "../customLink";
import { EventsRelativeBox } from "../events/eventsRelativeBox";
Expand Down
2 changes: 1 addition & 1 deletion components/filter/events.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { Tab, Transition } from "@headlessui/react";
import { useFormatDates } from "hooks/useFormatDates";
import Image from "next/image";
import { Fragment, useState } from "react";
import { FaSpinner } from "react-icons/fa";
import type { Event, WithContext } from "schema-dts";
import { TinaMarkdown, TinaMarkdownContent } from "tinacms/dist/rich-text";
import { sanitiseXSS } from "../../helpers/validator";
import { useEvents } from "../../hooks/useEvents";
import { useFormatDates } from "../../hooks/useFormatDates";
import { EventInfo } from "../../services/server/events";
import { componentRenderer } from "../blocks/mdxComponentRenderer";
import { CustomLink } from "../customLink";
Expand Down

0 comments on commit 5ddb31e

Please sign in to comment.