refactor(navbar): comment out license expiry alert for future implementation

- Commented out the conditional rendering of the license expiry alert in the Navbar component for future adjustments.
This commit is contained in:
chamikaJ
2025-05-30 11:10:11 +05:30
parent 65af5f659e
commit 6ffdbc64d0

View File

@@ -101,14 +101,6 @@ const Navbar = () => {
justifyContent: 'space-between', justifyContent: 'space-between',
}} }}
> >
{daysUntilExpiry !== null && ((daysUntilExpiry <= 3 && daysUntilExpiry > 0) || (daysUntilExpiry >= -7 && daysUntilExpiry < 0)) && (
<Alert
message={daysUntilExpiry > 0 ? `Your license will expire in ${daysUntilExpiry} days` : `Your license has expired ${Math.abs(daysUntilExpiry)} days ago`}
type="warning"
showIcon
style={{ width: '100%', marginTop: 12 }}
/>
)}
<Flex <Flex
style={{ style={{
width: '100%', width: '100%',