remove no longer required parseIntWithDefault
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
d55f4f9e6a
commit
db78534b45
|
@ -25,11 +25,6 @@ var Modal = require('matrix-react-sdk/lib/Modal');
|
||||||
var Resend = require("matrix-react-sdk/lib/Resend");
|
var Resend = require("matrix-react-sdk/lib/Resend");
|
||||||
import * as UserSettingsStore from 'matrix-react-sdk/lib/UserSettingsStore';
|
import * as UserSettingsStore from 'matrix-react-sdk/lib/UserSettingsStore';
|
||||||
|
|
||||||
function parseIntWithDefault(val, def) {
|
|
||||||
var res = parseInt(val);
|
|
||||||
return isNaN(res) ? def : res;
|
|
||||||
}
|
|
||||||
|
|
||||||
module.exports = React.createClass({
|
module.exports = React.createClass({
|
||||||
displayName: 'MessageContextMenu',
|
displayName: 'MessageContextMenu',
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue