Skip to content

Commit

Permalink
Reformat and Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kjy5 authored and github-actions[bot] committed Oct 1, 2023
1 parent 2e429c8 commit 67e581b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
8 changes: 4 additions & 4 deletions src/components/ArtifactCard.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import '../styles/ArtifactCard.sass'
import { ArtifactData } from '../scripts/interfaces'
import { NavLink } from 'react-router-dom'
import { ReactElement } from 'react'
import "../styles/ArtifactCard.sass";
import { ArtifactData } from "../scripts/interfaces";
import { NavLink } from "react-router-dom";
import { ReactElement } from "react";

/**
* ArtifactPage card component. Displays high-level information about an artifact (title, subtitle, 3D graphic).
Expand Down
20 changes: 10 additions & 10 deletions src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import './styles/index.sass'
import { ArtifactData } from './scripts/interfaces'
import ArtifactPage from './routes/ArtifactPage'
import ErrorPage from './routes/ErrorPage'
import ParseData from './scripts/parse-data'
import React from 'react'
import ReactDOM from 'react-dom/client'
import Root from './routes/Root'
import "./styles/index.sass";
import { ArtifactData } from "./scripts/interfaces";
import ArtifactPage from "./routes/ArtifactPage";
import ErrorPage from "./routes/ErrorPage";
import ParseData from "./scripts/parse-data";
import React from "react";
import ReactDOM from "react-dom/client";
import Root from "./routes/Root";
// eslint-disable-next-line sort-imports
import { createHashRouter, RouterProvider } from 'react-router-dom'
import Graphics from './scripts/graphics'
import { createHashRouter, RouterProvider } from "react-router-dom";
import Graphics from "./scripts/graphics";

// Parse data and return as an array of ArtifactPage objects
const artifacts: ArtifactData[] = ParseData();
Expand Down
12 changes: 6 additions & 6 deletions src/routes/ArtifactPage.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import '../styles/ArtifactPage.sass'
import { ArtifactData, EmbedData, LinkData } from '../scripts/interfaces'
import { Fragment, ReactElement } from 'react'
import { NavLink, useLoaderData } from 'react-router-dom'
import Gallery from '../components/Gallery'
import RichLink from '../components/RichLink'
import "../styles/ArtifactPage.sass";
import { ArtifactData, EmbedData, LinkData } from "../scripts/interfaces";
import { Fragment, ReactElement } from "react";
import { NavLink, useLoaderData } from "react-router-dom";
import Gallery from "../components/Gallery";
import RichLink from "../components/RichLink";

/**
* Artifact header, displays artifact title, subtitle, date, and links
Expand Down

0 comments on commit 67e581b

Please sign in to comment.