Skip to content

Commit

Permalink
remove unused var, update tedt id for intl
Browse files Browse the repository at this point in the history
  • Loading branch information
nikk15 committed Jun 22, 2023
1 parent 7f10ca1 commit 3822755
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/react-components/room/ObjectUrlModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { useForm } from "react-hook-form";
import { Button } from "../input/Button";
import { Column } from "../layout/Column";
import { IconButton } from "../input/IconButton";
import { ReactComponent as AttachIcon } from "../icons/Attach.svg";
import styles from "./ObjectUrlModal.scss";
import classNames from "classnames";
import { FormattedMessage } from "react-intl";
Expand Down Expand Up @@ -102,7 +101,9 @@ export function ObjectUrlModal({ showModelCollectionLink, modelCollectionUrl, on
>
{!showCloseButton && (
<div className={styles.browse}>
<span>Browse</span>
<span>
<FormattedMessage id="object-url-modal.browse" defaultMessage="Browse" />
</span>
</div>
)}
<input id="file" className={styles.hidden} type="file" {...register("file")} />
Expand Down

0 comments on commit 3822755

Please sign in to comment.