diff --git a/src/assets/icons/warning.png b/src/assets/icons/warning.png new file mode 100644 index 000000000..1ac53075f Binary files /dev/null and b/src/assets/icons/warning.png differ diff --git a/src/components/chats/ChatList/ChatList.tsx b/src/components/chats/ChatList/ChatList.tsx index 57e833add..1da34e94b 100644 --- a/src/components/chats/ChatList/ChatList.tsx +++ b/src/components/chats/ChatList/ChatList.tsx @@ -78,6 +78,7 @@ function ChatListContent({ hubId, chatId, }) + const lastFocusedTime = useLastFocusedMessageTime(chatId, messageIds[0] ?? '') useEffect(() => { diff --git a/src/components/modals/RewardPerDayModal.tsx b/src/components/modals/RewardPerDayModal.tsx index f72f3265b..ffe84cca0 100644 --- a/src/components/modals/RewardPerDayModal.tsx +++ b/src/components/modals/RewardPerDayModal.tsx @@ -1,4 +1,5 @@ import Diamond from '@/assets/emojis/diamond.png' +import WarningIcon from '@/assets/icons/warning.png' import { getUserYesterdayRewardQuery } from '@/services/datahub/content-staking/query' import { useSendEvent } from '@/stores/analytics' import { useMyMainAddress } from '@/stores/my-account' @@ -101,6 +102,13 @@ Sounds too good to be true? Join me and see for yourself! 😉` )} +
+ + + Some of your rewards could have been removed for activity with{' '} + irrelevant content + +
POINTS EARNED: -
+
setOpenRewardModal(true)} + > - + {' '} + *
@@ -283,6 +289,12 @@ const UserStatsSection = ({
+ { + setOpenRewardModal(false) + }} + /> setOpenProfileModal(false)} diff --git a/src/modules/telegram/MemesPage.tsx b/src/modules/telegram/MemesPage.tsx index c72e26df8..9c17e1cf8 100644 --- a/src/modules/telegram/MemesPage.tsx +++ b/src/modules/telegram/MemesPage.tsx @@ -1,4 +1,5 @@ import LayoutWithBottomNavigation from '@/components/layouts/LayoutWithBottomNavigation' +import HomePageModals from '@/components/modals/HomePageModals' import LikeIntroModal from '@/components/modals/LikeIntroModal' import { env } from '@/env.mjs' import useTgNoScroll from '@/hooks/useTgNoScroll' @@ -13,6 +14,7 @@ const MemesPage = () => { + ) } diff --git a/src/modules/telegram/TapPage/index.tsx b/src/modules/telegram/TapPage/index.tsx index 4c9ad55e2..e1779be22 100644 --- a/src/modules/telegram/TapPage/index.tsx +++ b/src/modules/telegram/TapPage/index.tsx @@ -1,7 +1,6 @@ import TapFromMobileImage from '@/assets/graphics/tap-from-mobile.png' import SkeletonFallback from '@/components/SkeletonFallback' import LayoutWithBottomNavigation from '@/components/layouts/LayoutWithBottomNavigation' -import HomePageModals from '@/components/modals/HomePageModals' import useTgNoScroll from '@/hooks/useTgNoScroll' import PointsWidget from '@/modules/points/PointsWidget' import { @@ -28,7 +27,6 @@ const TapPage = () => { className='sticky top-0' /> - ) }