Skip to content

Commit

Permalink
feat: add display name
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-hosseini-deriv committed May 13, 2024
1 parent 203fc55 commit cc029dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/AppLayout/Notifications/Notification.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Text } from "../../Text";
import { TNotificationObject } from "./types";

const Notification = ({
export const Notification = ({
icon,
title,
message,
Expand All @@ -28,4 +28,4 @@ const Notification = ({
</div>
);
};
export default Notification;
Notification.displayName = 'Notification'
2 changes: 1 addition & 1 deletion src/components/AppLayout/Notifications/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Fragment, useRef } from "react";
import Notification from "./Notification";
import { Notification } from "./Notification";
import { TNotificationsProps } from "./types";
import "./index.scss";
import { useDevice } from "../../../hooks";
Expand Down

0 comments on commit cc029dd

Please sign in to comment.