Skip to content

Commit

Permalink
fix: add shit loading state
Browse files Browse the repository at this point in the history
  • Loading branch information
potts99 committed Nov 2, 2024
1 parent 2772722 commit b91bea9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/client/pages/admin/smtp/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export default function Notifications() {
</div>
</div>

{!loading && (
{!loading ? (
<div className="px-4 sm:px-6 md:px-0">
<div className="mb-6">
{enabled ? (
Expand Down Expand Up @@ -286,6 +286,8 @@ export default function Notifications() {
)}
</div>
</div>
) : (
<div>Loading...</div>
)}
</div>
</main>
Expand Down

0 comments on commit b91bea9

Please sign in to comment.