refactor: sort typescript imports
This commit is contained in:
parent
7bb179a2dc
commit
cd7689d0f5
9 changed files with 33 additions and 24 deletions
|
@ -1,12 +1,13 @@
|
|||
import { useEffect, useState } from "react";
|
||||
import { MoonStars, Sun, List } from "react-bootstrap-icons";
|
||||
import { List, MoonStars, Sun } from "react-bootstrap-icons";
|
||||
|
||||
import Link from "next/link";
|
||||
import NavItem from "./NavItem";
|
||||
import Logo from "./logo";
|
||||
import { useRecoilState } from "recoil";
|
||||
|
||||
import { APIError, ErrorCode, fetchAPI, MeUser } from "../lib/api-fetch";
|
||||
import { themeState, userState } from "../lib/state";
|
||||
import { fetchAPI, APIError, ErrorCode, MeUser } from "../lib/api-fetch";
|
||||
import Logo from "./logo";
|
||||
import NavItem from "./NavItem";
|
||||
|
||||
export default function Navigation() {
|
||||
const [user, setUser] = useRecoilState(userState);
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
import Head from "next/head";
|
||||
import ReactMarkdown from "react-markdown";
|
||||
import { userState } from "../lib/state";
|
||||
import { useRecoilValue } from "recoil";
|
||||
import FallbackImage from "./FallbackImage";
|
||||
import React from "react";
|
||||
import {
|
||||
EmojiLaughing,
|
||||
HandThumbsDown,
|
||||
|
@ -10,10 +7,14 @@ import {
|
|||
HeartFill,
|
||||
People,
|
||||
} from "react-bootstrap-icons";
|
||||
import BlueLink from "./BlueLink";
|
||||
import React from "react";
|
||||
import Card from "./Card";
|
||||
import ReactMarkdown from "react-markdown";
|
||||
import { useRecoilValue } from "recoil";
|
||||
|
||||
import { Field, Label, LabelStatus, Person, User } from "../lib/api";
|
||||
import { userState } from "../lib/state";
|
||||
import BlueLink from "./BlueLink";
|
||||
import Card from "./Card";
|
||||
import FallbackImage from "./FallbackImage";
|
||||
|
||||
export default function PersonPage({ person }: { person: Person }) {
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue