mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
use FC instead of FunctionalComponent
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import React, { FunctionComponent } from 'react'
|
||||
import React, { FC } from 'react'
|
||||
import { UserNav } from '@components/core'
|
||||
import { Button } from '@components/ui'
|
||||
import { Trash, Cross } from '@components/icon'
|
||||
import { useUI } from '@components/ui/context'
|
||||
|
||||
const CartSidebarView: FunctionComponent = () => {
|
||||
const CartSidebarView: FC = () => {
|
||||
const { closeSidebar } = useUI()
|
||||
return (
|
||||
<>
|
||||
|
Reference in New Issue
Block a user