Skip to content

Commit

Permalink
chore(dapp-ui): removing unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebeee committed Jun 18, 2024
1 parent 44ed666 commit bc99fcf
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions sites/dapp-ui/src/components/user/StatusCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ export type ProfileCardProps = {
export function StatusCard({ session, user, socket }: ProfileCardProps) {
const { refetch } = useUserState();
const { client, setDataChannel } = useContext(SignalClientContext);

const isLoading = socket.isConnected && !socket.hasDataChannel;

return (
<Card sx={{ maxWidth: 300, zIndex: 1000 }} raised>
<CardContent>
Expand Down Expand Up @@ -84,13 +81,6 @@ export function StatusCard({ session, user, socket }: ProfileCardProps) {
<IconButton aria-label="share">
<ShareIcon />
</IconButton>
{
isLoading && (
<Typography variant="h6" color="text.secondary">
Loading...
</Typography>
)
}
</CardActions>
)}
</Card>
Expand Down

0 comments on commit bc99fcf

Please sign in to comment.