Skip to content

Commit

Permalink
Fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo committed Apr 17, 2024
1 parent 4168e44 commit a1f12ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/react-components/room/SystemNotification.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import { Row } from "../layout/Row";
import { Column } from "../layout/Column";
import { ReactComponent as CloseIcon } from "../icons/Close.svg";

export const SystemNotification = memo(({ className, body, link, onDismiss, ...rest }) => {
export const SystemNotification = memo(({ body, link, onDismiss }) => {
const handleOnLink = useCallback(() => {
window.open(link);
}, []);
}, [link]);

return (
<Row noWrap className={styles.notification} padding="sm">
Expand Down

0 comments on commit a1f12ba

Please sign in to comment.