Skip to content

Commit

Permalink
fix: type imports
Browse files Browse the repository at this point in the history
  • Loading branch information
fbuireu committed May 27, 2024
1 parent a016c47 commit 0f3d046
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/pages/articles/[...slug].astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
import { type CollectionEntry, getCollection } from "astro:content";
import type { CollectionEntry } from "astro:content";
import { getCollection } from "astro:content";
import { Image } from "astro:assets";
import BaseLayout from "@components/templates/baseLayout/BaseLayout.astro";
import "./_article.css";
Expand Down
6 changes: 4 additions & 2 deletions src/ui/components/atoms/worldGlobe/WorldGlobe.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import { memo, useCallback, useEffect, useRef } from "react";
import Globe, { type GlobeMethods } from "react-globe.gl";
import Globe from "react-globe.gl";
import type { GlobeMethods } from "react-globe.gl";
import * as Three from "three";
import countries from "@data/countries.geojson.json";
import "./world-globe.css";
import { calculateCenter } from "@components/atoms/worldGlobe/utils/calculateCenter";
import { WORLD_GLOBE_CONFIG } from "src/consts.ts";
import { renderPin } from "@components/atoms/worldGlobe/utils/renderPin";
import { type ReactGlobePoint, refineCities } from "./utils/refineCities";
import type { ReactGlobePoint } from "./utils/refineCities";
import { refineCities } from "./utils/refineCities";
import horizontalArrow from "@assets/images/svg/left-arrow.svg";
import zoomIn from "@assets/images/svg/zoom-in.svg";
import zoomOut from "@assets/images/svg/zoom-out.svg";
Expand Down
3 changes: 2 additions & 1 deletion src/ui/components/organisms/contactForm/ContactForm.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { type FormEvent, useCallback, useRef, useState } from "react";
import { useCallback, useRef, useState } from "react";
import type { FormEvent } from "react";
import { useForm } from "react-hook-form";
import { zodResolver } from "@hookform/resolvers/zod";
import { z } from "zod";
Expand Down

0 comments on commit 0f3d046

Please sign in to comment.