fix unrelated formatting errors
This commit is contained in:
parent
c0df9898a4
commit
8daece2a13
@ -52,19 +52,8 @@ export function NoteCreator() {
|
|||||||
const { formatMessage } = useIntl();
|
const { formatMessage } = useIntl();
|
||||||
const publisher = useEventPublisher();
|
const publisher = useEventPublisher();
|
||||||
const uploader = useFileUpload();
|
const uploader = useFileUpload();
|
||||||
const {
|
const { note, zapForward, sensitive, pollOptions, replyTo, otherEvents, preview, active, show, showAdvanced, error } =
|
||||||
note,
|
useSelector((s: RootState) => s.noteCreator);
|
||||||
zapForward,
|
|
||||||
sensitive,
|
|
||||||
pollOptions,
|
|
||||||
replyTo,
|
|
||||||
otherEvents,
|
|
||||||
preview,
|
|
||||||
active,
|
|
||||||
show,
|
|
||||||
showAdvanced,
|
|
||||||
error,
|
|
||||||
} = useSelector((s: RootState) => s.noteCreator);
|
|
||||||
const [uploadInProgress, setUploadInProgress] = useState(false);
|
const [uploadInProgress, setUploadInProgress] = useState(false);
|
||||||
const dispatch = useDispatch();
|
const dispatch = useDispatch();
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ const InitState: NoteCreatorStore = {
|
|||||||
showAdvanced: false,
|
showAdvanced: false,
|
||||||
zapForward: "",
|
zapForward: "",
|
||||||
sensitive: "",
|
sensitive: "",
|
||||||
otherEvents: []
|
otherEvents: [],
|
||||||
};
|
};
|
||||||
|
|
||||||
const NoteCreatorSlice = createSlice({
|
const NoteCreatorSlice = createSlice({
|
||||||
|
Loading…
Reference in New Issue
Block a user