From dc35d6dce376caa9923b6ca9267a1811eae64ed0 Mon Sep 17 00:00:00 2001 From: caiodasilva2005 Date: Sun, 22 Dec 2024 11:55:58 -0500 Subject: [PATCH] #3074-fixed pop up card --- src/frontend/src/components/PopUpAlert.tsx | 4 ++-- .../src/components/{NotificationCard.tsx => PopUpCard.tsx} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename src/frontend/src/components/{NotificationCard.tsx => PopUpCard.tsx} (100%) diff --git a/src/frontend/src/components/PopUpAlert.tsx b/src/frontend/src/components/PopUpAlert.tsx index 452f28800d..0a0b271b66 100644 --- a/src/frontend/src/components/PopUpAlert.tsx +++ b/src/frontend/src/components/PopUpAlert.tsx @@ -1,7 +1,7 @@ import { Box } from '@mui/material'; import React, { useEffect, useState } from 'react'; import { PopUp } from 'shared'; -import NotificationCard from './NotificationCard'; +import PopUpCard from './PopUpCard'; import { useHistory } from 'react-router-dom'; import { useCurrentUserPopUps, useRemoveUserPopUp } from '../hooks/pop-ups.hooks'; @@ -40,7 +40,7 @@ const PopUpAlert: React.FC = () => { }} > {!removeIsLoading && !popUpsIsLoading && currentPopUp && ( - + )} ); diff --git a/src/frontend/src/components/NotificationCard.tsx b/src/frontend/src/components/PopUpCard.tsx similarity index 100% rename from src/frontend/src/components/NotificationCard.tsx rename to src/frontend/src/components/PopUpCard.tsx