Co-authored-by: lethemanh <lethemanh@lethemanhs-MacBook-Pro.local>
This commit is contained in:
@@ -5,7 +5,6 @@ import React from 'react'
|
|||||||
import { useI18n } from 'twake-i18n'
|
import { useI18n } from 'twake-i18n'
|
||||||
import { FieldWithLabel } from './components/FieldWithLabel'
|
import { FieldWithLabel } from './components/FieldWithLabel'
|
||||||
import { SectionPreviewRow } from './components/SectionPreviewRow'
|
import { SectionPreviewRow } from './components/SectionPreviewRow'
|
||||||
import { useScreenSizeDetection } from '@/useScreenSizeDetection'
|
|
||||||
|
|
||||||
export function AddDescButton({
|
export function AddDescButton({
|
||||||
showDescription,
|
showDescription,
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ export default function LocationField({
|
|||||||
return (
|
return (
|
||||||
<FieldWithLabel
|
<FieldWithLabel
|
||||||
label={showInputLabel(isLocationExpanded, t('event.form.location'))}
|
label={showInputLabel(isLocationExpanded, t('event.form.location'))}
|
||||||
isExpanded={isLocationExpanded && !isMobile}
|
isExpanded={showMore && !isMobile}
|
||||||
>
|
>
|
||||||
{!isLocationExpanded ? (
|
{!isLocationExpanded ? (
|
||||||
<SectionPreviewRow
|
<SectionPreviewRow
|
||||||
|
|||||||
Reference in New Issue
Block a user