* fix #517

* delete commented test for build pass

* fix unrelated formatting errors
This commit is contained in:
Vivek Ganesan
2023-04-17 19:03:31 +05:30
committed by GitHub
parent c59dda1e49
commit d0cb44a566
5 changed files with 6 additions and 34 deletions

View File

@ -52,19 +52,8 @@ export function NoteCreator() {
const { formatMessage } = useIntl();
const publisher = useEventPublisher();
const uploader = useFileUpload();
const {
note,
zapForward,
sensitive,
pollOptions,
replyTo,
otherEvents,
preview,
active,
show,
showAdvanced,
error,
} = useSelector((s: RootState) => s.noteCreator);
const { note, zapForward, sensitive, pollOptions, replyTo, otherEvents, preview, active, show, showAdvanced, error } =
useSelector((s: RootState) => s.noteCreator);
const [uploadInProgress, setUploadInProgress] = useState(false);
const dispatch = useDispatch();