From 5d57202135e3ee19bf3170510b85ab339b10c1c5 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 25 Jun 2024 17:35:29 +0300 Subject: [PATCH 1/2] Restart staging branch --- src/components/chats/ChatList/ChatList.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/chats/ChatList/ChatList.tsx b/src/components/chats/ChatList/ChatList.tsx index 0554acdf5..222f534cd 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(() => { From c219acc009772183085f9cc0fbc84a954495f09d Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 27 Jun 2024 17:06:48 +0300 Subject: [PATCH 2/2] Add info section about lost tokens --- src/assets/icons/warning.png | Bin 0 -> 732 bytes src/components/modals/RewardPerDayModal.tsx | 8 ++++++++ src/modules/points/PointsPreview.tsx | 8 +++++++- src/modules/points/PointsWidget.tsx | 16 ++++++++++++++-- src/modules/telegram/MemesPage.tsx | 2 ++ src/modules/telegram/TapPage/index.tsx | 2 -- 6 files changed, 31 insertions(+), 5 deletions(-) create mode 100644 src/assets/icons/warning.png diff --git a/src/assets/icons/warning.png b/src/assets/icons/warning.png new file mode 100644 index 0000000000000000000000000000000000000000..1ac53075febfbf407a65636563f11e3a18adc2f3 GIT binary patch literal 732 zcmV<20wev2P)QRXW4;oc&Zh0}lG&Me=9y>b&AtOfgx<93WTrMF zA`B6r;nqf2)>peJR@laxpQRy*f+$Q|_wy|#q^~0a(!yjKJA~XWPnT}Lc1R-cnA2@v zAG0n(5-DMNojNFfwv-ssY0%gS3FI8d*p>2w)Q^P_rlFR0kw{H;`|amR9Jnxo{pY^m z{Ycgg(M3!u?0Pbe3+LE(Zw%(gNwI+}dhd>Uc8ALdNhsmG+eY_!e8MV>WpmscnxtW) z6Z0hukJ~^jI!`ZjH7G1lSY&dC*KG(kARg}s3aThfL`-C|RJP_P_EGv!98rZ~8b>7E zx~zvfehg8B>D``s$egWzg!M+rpMs1qnfnsrquhgPVRW*b>(Y+- z)N$D7R6S)~`-Gh$531g+OBvUG$HdQy=w+zD+Eq&m?ZoOD1fap~#_Zf!n@Qh4>j z82(KW`j4(ba^uo4(+FHiu&qyi*bl`s=Hag|CvJYnpeT!WE$+GTE$lP~#;>^#j(DS9rdKm}@fpV!zXS=o+Ey0Yokjzsh$*+6Jy1H;1eJY)BpKVaFss$Y zAPuqYsu1l$1hnN51dHrdz?A1$Ozf0U_)F*SMCsje)Yh)R;*ep<$C>{F5Z9Ks3Q`UL O0000 )} +
+ + + 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' /> - ) }