mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-20 20:19:35 +02:00
import from up to date repo
This commit is contained in:
parent
35f5db62f2
commit
12baf72567
86 changed files with 12080 additions and 13746 deletions
|
@ -1,13 +1,11 @@
|
|||
import { useSelector } from 'react-redux';
|
||||
import { useAtomValue } from 'jotai';
|
||||
import { Notification as NotificationInterface } from '../../interfaces';
|
||||
|
||||
import { notificationsAtom } from '../../state/notification';
|
||||
import { Notification } from '../UI';
|
||||
import classes from './NotificationCenter.module.css';
|
||||
|
||||
import { Notification } from '../UI';
|
||||
import { State } from '../../store/reducers';
|
||||
|
||||
export const NotificationCenter = (): JSX.Element => {
|
||||
const { notifications } = useSelector((state: State) => state.notification);
|
||||
const { notifications } = useAtomValue(notificationsAtom);
|
||||
|
||||
return (
|
||||
<div
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue