fix unrelated formatting errors
This commit is contained in:
parent
c0df9898a4
commit
8daece2a13
@ -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();
|
||||
|
||||
|
@ -23,7 +23,7 @@ const InitState: NoteCreatorStore = {
|
||||
showAdvanced: false,
|
||||
zapForward: "",
|
||||
sensitive: "",
|
||||
otherEvents: []
|
||||
otherEvents: [],
|
||||
};
|
||||
|
||||
const NoteCreatorSlice = createSlice({
|
||||
|
Loading…
Reference in New Issue
Block a user