Skip to content

Commit

Permalink
Revert setting default value
Browse files Browse the repository at this point in the history
  • Loading branch information
fedirjh committed Dec 20, 2022
1 parent 3b20775 commit c45d9d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/components/RoomNameInput/roomNameInputPropTypes.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import PropTypes from 'prop-types';
import {withLocalizePropTypes} from '../withLocalize';
import CONST from '../../CONST';

const propTypes = {
/** Callback to execute when the text input is modified correctly */
Expand Down Expand Up @@ -42,7 +41,7 @@ const defaultProps = {

inputID: undefined,
onBlur: () => {},
defaultValue: CONST.POLICY.ROOM_PREFIX,
defaultValue: undefined,
autoFocus: false,
};

Expand Down
1 change: 0 additions & 1 deletion src/pages/workspace/WorkspaceNewRoomPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ class WorkspaceNewRoomPage extends React.Component {
<View style={styles.mb5}>
<RoomNameInput
inputID="roomName"
defaultValue={CONST.POLICY.ROOM_PREFIX}
autoFocus
/>
</View>
Expand Down

0 comments on commit c45d9d7

Please sign in to comment.