mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 15:36:58 +00:00
More design updates
This commit is contained in:
parent
68e0bfc735
commit
a6749a65b5
@ -15,7 +15,6 @@ interface Props {
|
|||||||
|
|
||||||
const Sidebar: FC<Props> = ({ children, open = false, onClose }) => {
|
const Sidebar: FC<Props> = ({ children, open = false, onClose }) => {
|
||||||
const ref = useRef() as React.MutableRefObject<HTMLDivElement>
|
const ref = useRef() as React.MutableRefObject<HTMLDivElement>
|
||||||
console.log(ref, ref.current, open)
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user