Finally fix HMR not working for this file

This commit is contained in:
Lim Chee Aun 2022-12-14 00:39:35 +08:00
parent 38aaf89529
commit 975f3dd33f

View file

@ -18,13 +18,13 @@ import Status from './status';
- Max character limit includes BOTH status text and Content Warning text - Max character limit includes BOTH status text and Content Warning text
*/ */
export default ({ function Compose({
onClose, onClose,
replyToStatus, replyToStatus,
editStatus, editStatus,
draftStatus, draftStatus,
standalone, standalone,
}) => { }) {
const [uiState, setUIState] = useState('default'); const [uiState, setUIState] = useState('default');
const accounts = store.local.getJSON('accounts'); const accounts = store.local.getJSON('accounts');
@ -696,7 +696,7 @@ export default ({
</form> </form>
</div> </div>
); );
}; }
function MediaAttachment({ function MediaAttachment({
attachment, attachment,
@ -759,3 +759,5 @@ function MediaAttachment({
</div> </div>
); );
} }
export default Compose;