Skip to content

Commit

Permalink
Remove extra loading indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayan-Bandyopadhyay committed Oct 14, 2024
1 parent b11cd15 commit a72c3c0
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions frontend/src/components/Modals/SessionRecordingModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,14 @@ export default function SessionRecordingModal({
}}
/>
</div>
{isLoading ? (
<div className="flex items-center justify-center">
<Loader />
</div>
) : (
<ReactPlayer
url={url}
width="100%"
height="100%"
controls={true}
/>
)}

<ReactPlayer
url={url}
width="100%"
height="100%"
controls={true}
/>

{error && (
<Alert
variant="error"
Expand Down

0 comments on commit a72c3c0

Please sign in to comment.