mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-29 04:39:20 +03:00
Finally fix HMR not working for this file
This commit is contained in:
parent
38aaf89529
commit
975f3dd33f
1 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue