Skip to content

Commit

Permalink
fix: Disable auto rotate (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
LautaroPetaccio authored Jan 12, 2024
1 parent 38a4a6f commit 842264e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/start/Start.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,17 @@ export default function Start(props: Props) {
</div>
</div>
<div className={`start-wearable-preview ${isLoadingAvatar ? 'loading' : ''}`}>
<img src={manDefault} alt="Avatar" className="wearable-default-img" />
<img
src={manDefault}
alt="Avatar"
className="wearable-default-img"
style={{ display: isLoadingAvatar ? 'inline' : 'none' }}
/>
<WearablePreview
profile={wallet?.address}
disableBackground
lockBeta
disableAutoRotate={true}
onUpdate={handleWearablePreviewLoad}
emote={PreviewEmote.WAVE}
dev={getWantedChainId() !== ChainId.ETHEREUM_MAINNET}
Expand Down

0 comments on commit 842264e

Please sign in to comment.