Skip to content

Commit

Permalink
Update Offline.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
dorley174 authored Oct 26, 2024
1 parent 374afaa commit da87ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/layout/Offline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const OfflineNotification: React.FC = () => {

// Если пользователь нажал на крестик или интернет есть — скрываем сообщение
if (isClosed) return null;
if (isOffline) return null;
if (!isOffline) return null;

return (
<div className={`fixed inset-0 z-50 flex items-start justify-center`}>
Expand Down

0 comments on commit da87ef6

Please sign in to comment.