Skip to content

Commit a1f12ba

Browse files
committed
Fix linter issues
1 parent 4168e44 commit a1f12ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/react-components/room/SystemNotification.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import { Row } from "../layout/Row";
88
import { Column } from "../layout/Column";
99
import { ReactComponent as CloseIcon } from "../icons/Close.svg";
1010

11-
export const SystemNotification = memo(({ className, body, link, onDismiss, ...rest }) => {
11+
export const SystemNotification = memo(({ body, link, onDismiss }) => {
1212
const handleOnLink = useCallback(() => {
1313
window.open(link);
14-
}, []);
14+
}, [link]);
1515

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

0 commit comments

Comments
 (0)