1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

#58 fixed submit bar lab icon

This commit is contained in:
Fedor Katurov 2021-03-30 14:30:08 +07:00
parent f7b8a9c0c3
commit 54b2b62a54
2 changed files with 4 additions and 2 deletions

View file

@ -23,6 +23,8 @@ const SubmitBar: FC<Props> = ({ isLab }) => {
[url]
);
const icon = isLab ? 'lab' : 'plus';
return (
<div className={classNames(styles.wrap, { [styles.lab]: isLab })}>
<div className={classNames(styles.panel, { [styles.active]: focused })}>
@ -44,7 +46,7 @@ const SubmitBar: FC<Props> = ({ isLab }) => {
</div>
<button className={styles.button} onFocus={onFocus} onBlur={onBlur} type="button">
<Icon icon="plus" />
<Icon icon={icon} />
</button>
</div>
);