Skip to content

Commit

Permalink
move MinoDiv component
Browse files Browse the repository at this point in the history
  • Loading branch information
tesseralis committed Apr 22, 2021
1 parent 85a2c7a commit 96984eb
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/CatalogPage/CatalogPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { getMinoColor, NUM_GENERATIONS } from "components/graph"

import MinoList from "components/MinoList"
import MinoLink from "components/MinoLink"
import MinoDiv from "components/MinoList/MinoDiv"
import MinoDiv from "components/MinoDiv"

interface MinoDatum {
name: string
Expand Down
2 changes: 1 addition & 1 deletion components/ClassesPage/ClassesPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useMemo } from "react"
import { css } from "@emotion/react"
import { capitalize } from "lodash"
import { getMinoColor } from "components/graph"
import MinoDiv from "components/MinoList/MinoDiv"
import MinoDiv from "components/MinoDiv"
import { Polyomino, displayClass, MinoClass } from "mino"
import { getMinoClasses } from "./classHelpers"

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion components/MinoLink.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Link from "next/link"
import MinoDiv, { Props as MinoDivProps } from "components/MinoList/MinoDiv"
import MinoDiv, { Props as MinoDivProps } from "components/MinoDiv"

interface Props extends Omit<MinoDivProps, "onClick" | "children"> {
to: string
Expand Down
2 changes: 1 addition & 1 deletion components/MinoList/MinoFilter/SymmetryInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { baseColorMap } from "components/graph"
import { Circle, Line } from "components/svg"

import { Polyomino, Symmetry, printSymmetry } from "mino"
import MinoDiv from "components/MinoList/MinoDiv"
import MinoDiv from "components/MinoDiv"
import InputTitle from "./InputTitle"

function upsert<T>(array: T[], value: T) {
Expand Down

1 comment on commit 96984eb

@vercel
Copy link

@vercel vercel bot commented on 96984eb Apr 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.