Show Add Link button on mobile menu

This commit is contained in:
Jackson Harper
2023-06-14 13:04:57 +08:00
parent 7f81771e4a
commit 960436377a

View File

@ -1,4 +1,4 @@
import { useCallback, useEffect, useRef, useState } from 'react'
import { useEffect, useRef, useState } from 'react'
import { Box, HStack, SpanBox, VStack } from '../../elements/LayoutPrimitives'
import { theme } from '../../tokens/stitches.config'
import { FormInput } from '../../elements/FormElements'
@ -13,7 +13,6 @@ import {
MagnifyingGlass,
Prohibit,
SquaresFour,
TagSimple,
TrashSimple,
X,
} from 'phosphor-react'
@ -666,6 +665,7 @@ function ControlButtonBox(props: ControlButtonBoxProps): JSX.Element {
showThemeSection={true}
layout={props.layout}
updateLayout={props.updateLayout}
showAddLinkModal={props.showAddLinkModal}
startSelectMultiple={() => {
props.setMultiSelectMode('none')
}}