4
0
forked from crowetic/commerce

Removed unused React imports

This commit is contained in:
Luis Alvarez 2020-10-01 21:34:08 -05:00
parent 44a41eb3e1
commit a1dea9f846
17 changed files with 13 additions and 21 deletions

View File

@ -1,4 +1,4 @@
import React, { FC } from 'react'
import { FC } from 'react'
import { UserNav } from '@components/core'
import { Button } from '@components/ui'
import { Trash, Cross } from '@components/icon'

View File

@ -1,5 +1,5 @@
import cn from 'classnames'
import React, { FC } from 'react'
import { FC } from 'react'
import s from './Avatar.module.css'
interface Props {

View File

@ -1,5 +1,5 @@
import cn from 'classnames'
import React, { FC } from 'react'
import { FC } from 'react'
import s from './Footer.module.css'
import { Container } from '@components/ui'

View File

@ -1,5 +1,5 @@
import cn from 'classnames'
import React, { FC } from 'react'
import { FC } from 'react'
import s from './Navbar.module.css'
import { Logo, Container } from '@components/ui'
import { Searchbar } from '@components/core'

View File

@ -1,5 +1,5 @@
import cn from 'classnames'
import React, { FC } from 'react'
import { FC } from 'react'
import s from './Searchbar.module.css'
interface Props {

View File

@ -1,5 +1,5 @@
import cn from 'classnames'
import React, { FC } from 'react'
import { FC } from 'react'
import s from './UserNav.module.css'
import { Avatar } from '@components/core'
import { Heart, Bag } from '@components/icon'

View File

@ -1,5 +1,3 @@
import React from 'react'
const Bag = ({ ...props }) => {
return (
<svg

View File

@ -1,5 +1,3 @@
import React from 'react'
const Cross = ({ ...props }) => {
return (
<svg fill="none" viewBox="0 0 24 24" stroke="currentColor" {...props}>

View File

@ -1,5 +1,3 @@
import React from 'react'
const Heart = ({ ...props }) => {
return (
<svg

View File

@ -1,5 +1,3 @@
import React from 'react'
const Trash = ({ ...props }) => {
return (
<svg

View File

@ -1,6 +1,6 @@
import cn from 'classnames'
import s from './ProductCard.module.css'
import React, { FC } from 'react'
import { FC } from 'react'
import { Heart } from '@components/icon'
interface Props {
className?: string

View File

@ -1,5 +1,5 @@
import cn from 'classnames'
import React, { FC } from 'react'
import { FC } from 'react'
import s from './ProductGrid.module.css'
import ProductCard from '@components/ProductCard'
interface Props {

View File

@ -1,5 +1,5 @@
import cn from 'classnames'
import React, { FC } from 'react'
import { FC } from 'react'
import s from './ProductView.module.css'
import { Button } from '@components/ui'
import { Swatch } from '@components/product'

View File

@ -1,5 +1,5 @@
import cn from 'classnames'
import React, { FC } from 'react'
import { FC } from 'react'
import s from './Swatch.module.css'
import { Colors } from '@components/ui/types'

View File

@ -1,5 +1,5 @@
import cn from 'classnames'
import React, { ButtonHTMLAttributes } from 'react'
import { ButtonHTMLAttributes } from 'react'
import s from './Button.module.css'
interface Props extends ButtonHTMLAttributes<HTMLButtonElement> {

View File

@ -1,5 +1,5 @@
import cn from 'classnames'
import React, { FC } from 'react'
import { FC } from 'react'
import s from './Sidebar.module.css'
interface Props {

View File

@ -1,4 +1,4 @@
import React, { FC } from 'react'
import { FC } from 'react'
export interface UIState {
displaySidebar: boolean