diff --git a/package.json b/package.json
index e21d3c5..ffcbaa5 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "no-copy-frontend",
- "version": "0.93.0",
+ "version": "0.94.0",
"private": true,
"scripts": {
"dev": "next dev -p 2999",
diff --git a/src/app/hooks/react-query/useUserDataInfo.ts b/src/app/hooks/react-query/useUserDataInfo.ts
index 8743288..e7fd120 100644
--- a/src/app/hooks/react-query/useUserDataInfo.ts
+++ b/src/app/hooks/react-query/useUserDataInfo.ts
@@ -39,7 +39,7 @@ export interface UserData {
tariffs: Tariff[];
tariffInfo: TariffInfo;
permission: number;
- verifiedStatus?: string;
+ verifiedStatus?: 'unknow' | 'NOT_VERIFIED' | 'VERIFICATION_IN_PROGRESS' | 'VERIFIED' | 'VERIFICATION_FAILED';
}
export const useUserProfile = () => {
diff --git a/src/app/styles/header.scss b/src/app/styles/header.scss
index fdb0a5f..5de3dc4 100644
--- a/src/app/styles/header.scss
+++ b/src/app/styles/header.scss
@@ -279,6 +279,7 @@
justify-content: center;
align-items: center;
font-size: 12px;
+ padding-top: 1px;
}
}
diff --git a/src/app/ui/header/notificationsButton.tsx b/src/app/ui/header/notificationsButton.tsx
index 159c980..e1a5000 100644
--- a/src/app/ui/header/notificationsButton.tsx
+++ b/src/app/ui/header/notificationsButton.tsx
@@ -121,6 +121,21 @@ export default function NotificationsButton() {
}
};
+ const getFontSizeByCount = (count: number | undefined) => {
+ if (!count) return '12px';
+
+ const countStr = String(count);
+
+ switch (countStr.length) {
+ case 3:
+ return '10px';
+ case 4:
+ return '8px';
+ default:
+ return '12px';
+ }
+ };
+
return (