diff --git a/app/soapbox/features/new_status/index.js b/app/soapbox/features/new_status/index.js
new file mode 100644
index 000000000..db53bb4ca
--- /dev/null
+++ b/app/soapbox/features/new_status/index.js
@@ -0,0 +1,33 @@
+import React from 'react';
+import { connect } from 'react-redux';
+import { Redirect } from 'react-router-dom';
+import PropTypes from 'prop-types';
+import { openModal } from '../../actions/modal';
+
+const mapDispatchToProps = dispatch => ({
+
+ onLoad: (text) => {
+ dispatch(openModal('COMPOSE'));
+ },
+
+});
+
+export default @connect(null, mapDispatchToProps)
+class NewStatus extends React.Component {
+
+ static propTypes = {
+ onLoad: PropTypes.func.isRequired,
+ };
+
+ constructor(props) {
+ super(props);
+ this.props.onLoad();
+ }
+
+ render() {
+ return (
+
+ );
+ }
+
+}
diff --git a/app/soapbox/features/share/index.js b/app/soapbox/features/share/index.js
index f52904b87..7649f5540 100644
--- a/app/soapbox/features/share/index.js
+++ b/app/soapbox/features/share/index.js
@@ -2,7 +2,6 @@ import React from 'react';
import { connect } from 'react-redux';
import { Redirect } from 'react-router-dom';
import PropTypes from 'prop-types';
-import ImmutablePureComponent from 'react-immutable-pure-component';
import { openComposeWithText } from '../../actions/compose';
const mapDispatchToProps = dispatch => ({
@@ -14,7 +13,7 @@ const mapDispatchToProps = dispatch => ({
});
export default @connect(null, mapDispatchToProps)
-class Share extends ImmutablePureComponent {
+class Share extends React.Component {
static propTypes = {
onShare: PropTypes.func.isRequired,
diff --git a/app/soapbox/features/ui/index.js b/app/soapbox/features/ui/index.js
index 66274d002..134501bbe 100644
--- a/app/soapbox/features/ui/index.js
+++ b/app/soapbox/features/ui/index.js
@@ -112,6 +112,7 @@ import {
ProfileHoverCard,
RegisterInvite,
Share,
+ NewStatus,
} from './util/async-components';
// Dummy import, to make sure that ends up in the application bundle.
@@ -239,7 +240,6 @@ class SwitchingColumnsArea extends React.PureComponent {
-
@@ -292,6 +292,7 @@ class SwitchingColumnsArea extends React.PureComponent {
+
diff --git a/app/soapbox/features/ui/util/async-components.js b/app/soapbox/features/ui/util/async-components.js
index 5a73fdfda..5ec26591f 100644
--- a/app/soapbox/features/ui/util/async-components.js
+++ b/app/soapbox/features/ui/util/async-components.js
@@ -413,3 +413,7 @@ export function RegisterInvite() {
export function Share() {
return import(/* webpackChunkName: "features/share" */'../../share');
}
+
+export function NewStatus() {
+ return import(/* webpackChunkName: "features/new_status" */'../../new_status');
+}