fix import cycle

This commit is contained in:
Aarni Halinen
2021-08-23 18:43:04 +03:00
parent f166292fa9
commit 35a18b5c91
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import React from "react";
import Image from "next/image"; import Image from "next/image";
import styled from "styled-components"; import styled from "styled-components";
import colors from "@theme/colors"; import colors from "@theme/colors";
import { Link } from "@components/index"; import Link from "@components/Link";
import breakpoints from "@theme/breakpoints"; import breakpoints from "@theme/breakpoints";
interface WrappedCardProps { interface WrappedCardProps {
+1 -1
View File
@@ -1,7 +1,7 @@
import React from "react"; import React from "react";
import styled from "styled-components"; import styled from "styled-components";
import colors from "@theme/colors"; import colors from "@theme/colors";
import { Link } from "@components/index"; import Link from "@components/Link";
interface PageLinkProps { interface PageLinkProps {
to: string; to: string;
+1 -1
View File
@@ -1,7 +1,7 @@
import React from "react"; import React from "react";
import styled from "styled-components"; import styled from "styled-components";
import colors from "@theme/colors"; import colors from "@theme/colors";
import { Link } from "@components/index"; import Link from "@components/Link";
type Colors = "orange1" | "lightBlue" | "darkBlue" | "blue1" | "lightTurquoise" | "sik100Blue"; type Colors = "orange1" | "lightBlue" | "darkBlue" | "blue1" | "lightTurquoise" | "sik100Blue";