Local only fix 1
This commit is contained in:
parent
47fa8a99f9
commit
56861e6086
|
@ -9,8 +9,8 @@ import Overlay from 'react-overlays/lib/Overlay';
|
|||
import { changeComposeVisibility } from 'soapbox/actions/compose';
|
||||
import { closeModal, openModal } from 'soapbox/actions/modals';
|
||||
import Icon from 'soapbox/components/icon';
|
||||
import { IconButton } from 'soapbox/components/ui';
|
||||
import { useAppDispatch, useCompose } from 'soapbox/hooks';
|
||||
import { IconButton, Icon } from 'soapbox/components/ui';
|
||||
import { useAppDispatch, useCompose, useFeatures, useLogo} from 'soapbox/hooks';
|
||||
import { isUserTouching } from 'soapbox/is-mobile';
|
||||
|
||||
import Motion from '../../ui/util/optional-motion';
|
||||
|
@ -152,11 +152,8 @@ const PrivacyDropdown: React.FC<IPrivacyDropdown> = ({
|
|||
const intl = useIntl();
|
||||
const node = useRef<HTMLDivElement>(null);
|
||||
const activeElement = useRef<HTMLElement | null>(null);
|
||||
|
||||
const compose = useCompose(composeId);
|
||||
|
||||
const value = compose.privacy;
|
||||
const unavailable = compose.id;
|
||||
const logo = useLogo();
|
||||
const features = useFeatures();
|
||||
|
||||
const [open, setOpen] = useState(false);
|
||||
const [placement, setPlacement] = useState('bottom');
|
||||
|
|
Loading…
Reference in a new issue