Skip to content

Commit

Permalink
bleh
Browse files Browse the repository at this point in the history
  • Loading branch information
dumorando committed Mar 10, 2024
1 parent 02c0800 commit 813488f
Showing 1 changed file with 1 addition and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,6 @@ const CustomExtensionModal = props => (
id="tw.customExtensionModal.url"
/>
</div>
<div
className={styles.typeSelectorButton}
data-active={props.type === 'file'}
onClick={props.onSwitchToFile}
tabIndex={0}
>
<FormattedMessage
defaultMessage="File"
// eslint-disable-next-line max-len
description="Button to choose to load an extension from a local file. Not much space, so keep this short."
id="tw.customExtensionModal.file"
/>
</div>
<div
className={styles.typeSelectorButton}
data-active={props.type === 'text'}
Expand Down Expand Up @@ -91,20 +78,7 @@ const CustomExtensionModal = props => (
/>
</React.Fragment>
) : props.type === 'file' ? (
<React.Fragment key={props.type}>
<p>
<FormattedMessage
defaultMessage="Select the extension's JavaScript file:"
description="Label that appears when loading a custom extension from a file"
id="tw.customExtensionModal.promptFile"
/>
</p>
<FileInput
accept=".js"
onChange={props.onChangeFile}
file={props.file}
/>
</React.Fragment>
<p>how did you get here</p>
) : (
<React.Fragment key={props.type}>
<p>
Expand Down

0 comments on commit 813488f

Please sign in to comment.