Skip to content

Commit

Permalink
format and absolute import
Browse files Browse the repository at this point in the history
  • Loading branch information
ToniGrbic committed Jan 29, 2025
1 parent 59d599f commit f4a2db3
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import sprite from './../../../assets/sprite.svg';
import sprite from '@/assets/sprite.svg';
import styles from './NotificationBell.module.scss';

interface NotificationBellProps {
Expand All @@ -9,7 +9,9 @@ export const NotificationBell: React.FC<NotificationBellProps> = ({
setOpenNotifications,
}) => {
return (
<div className={styles.notificationWrapper} onClick={() => setOpenNotifications(true)}>
<div
className={styles.notificationWrapper}
onClick={() => setOpenNotifications(true)}>
<svg className={styles.notificationIcon} width={32} height={32}>
<use href={`${sprite}#notification-bell-icon`} />
</svg>
Expand Down

0 comments on commit f4a2db3

Please sign in to comment.