From 7d13d5ddd96ddb70c8b8aee3b092b6a59a86bd35 Mon Sep 17 00:00:00 2001 From: sijumoncy <72241997+sijumoncy@users.noreply.github.com> Date: Thu, 19 Oct 2023 10:43:16 +0530 Subject: [PATCH] refactor notification section --- renderer/src/components/Notification/CustomNofications.js | 2 +- .../notifications => components/Notification}/Notifications.js | 0 renderer/src/layouts/projects/TopMenuBar.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename renderer/src/{modules/notifications => components/Notification}/Notifications.js (100%) diff --git a/renderer/src/components/Notification/CustomNofications.js b/renderer/src/components/Notification/CustomNofications.js index 2048ea6ff..a3bffce9b 100644 --- a/renderer/src/components/Notification/CustomNofications.js +++ b/renderer/src/components/Notification/CustomNofications.js @@ -5,7 +5,7 @@ import React, { useContext, useEffect, useState } from 'react'; import localforage from 'localforage'; import moment from 'moment'; import { t } from 'i18next'; -import Notifications from '@/modules/notifications/Notifications'; +import Notifications from './Notifications'; import menuStyles from '../../layouts/editor/MenuBar.module.css'; import { AutographaContext } from '../context/AutographaContext'; diff --git a/renderer/src/modules/notifications/Notifications.js b/renderer/src/components/Notification/Notifications.js similarity index 100% rename from renderer/src/modules/notifications/Notifications.js rename to renderer/src/components/Notification/Notifications.js diff --git a/renderer/src/layouts/projects/TopMenuBar.js b/renderer/src/layouts/projects/TopMenuBar.js index d8e493577..feb4981a0 100644 --- a/renderer/src/layouts/projects/TopMenuBar.js +++ b/renderer/src/layouts/projects/TopMenuBar.js @@ -8,7 +8,7 @@ import { // MenuIcon, // XMarkIcon, // } from '@heroicons/react/24/outline'; -import Notifications from '@/modules/notifications/Notifications'; +import Notifications from '@/components/Notification/Notifications'; import UserProfile from '@/components/Profile/UserProfile'; export default function TopMenuBar() {