@@ -56,18 +56,17 @@ export default function RenderDesktopView() {
5656 const settingsRef = useSetUserSettings ( ) ;
5757 const userSettings = useUserSettings ( ) ;
5858
59-
6059 return (
6160 < div className = { `${ styles . container } ` } >
6261 { deafenRoom ? < > </ > : < RoomAudioRenderer /> }
63- < div className = ' col-start-1 col-end-2 row-start-1 row-end-4 bg-grey-950 flex-col justify-center ' >
64- < NavBar type = ' vertical' />
62+ < div className = " col-start-1 col-end-2 row-start-1 row-end-4 bg-grey-950 flex-col justify-center " >
63+ < NavBar type = " vertical" />
6564 </ div >
66- < div className = ' col-start-2 col-end-4 row-start-1 row-end-4 flex-col bg-grey-900 relative ' >
65+ < div className = " col-start-2 col-end-4 row-start-1 row-end-4 flex-col bg-grey-900 relative " >
6766 { sideBarView }
6867 </ div >
6968
70- < div className = ' col-start-4 col-end-13 row-start-1 row-end-4 flex flex-col h-screen' >
69+ < div className = " col-start-4 col-end-13 row-start-1 row-end-4 flex flex-col h-screen" >
7170 { mainView }
7271 </ div >
7372
@@ -81,23 +80,25 @@ export default function RenderDesktopView() {
8180 < UserIcon
8281 user = { userProfile }
8382 indicator = { true }
84- className = ' !mr-1 !h-6 !w-6'
83+ className = " !mr-1 !h-6 !w-6"
8584 />
8685 ) }
8786 < span className = "text-sm" > { userProfile ?. username } </ span >
8887 </ div >
8988
90- < div className = ' flex flex-row w-9' >
89+ < div className = " flex flex-row w-9 mr-2" >
9190 { deafenRoom ? (
9291 < button
93- className = 'w-7 h-7 hover:text-grey-400'
94- onClick = { ( ) => setDeafenRoom ( false ) } >
92+ className = "w-7 h-7 hover:text-grey-400"
93+ onClick = { ( ) => setDeafenRoom ( false ) }
94+ >
9595 < HeadPhonesOffIcon width = { 5 } height = { 5 } />
9696 </ button >
9797 ) : (
9898 < button
99- className = 'w-7 h-7 hover:text-grey-400'
100- onClick = { ( ) => setDeafenRoom ( true ) } >
99+ className = "w-7 h-7 hover:text-grey-400"
100+ onClick = { ( ) => setDeafenRoom ( true ) }
101+ >
101102 < HeadPhonesIcon width = { 5 } height = { 5 } />
102103 </ button >
103104 ) }
@@ -106,14 +107,16 @@ export default function RenderDesktopView() {
106107 { ' ' }
107108 { userSettings ? (
108109 < button
109- className = 'w-7 h-7 hover:text-grey-400'
110- onClick = { ( ) => settingsRef ( false ) } >
110+ className = "w-7 h-7 hover:text-grey-400"
111+ onClick = { ( ) => settingsRef ( false ) }
112+ >
111113 < MicrophoneIcon width = { 5 } height = { 5 } />
112114 </ button >
113115 ) : (
114116 < button
115- className = 'w-7 h-7 hover:text-grey-400'
116- onClick = { ( ) => settingsRef ( true ) } >
117+ className = "w-7 h-7 hover:text-grey-400"
118+ onClick = { ( ) => settingsRef ( true ) }
119+ >
117120 < MicrophoneOff width = { 5 } height = { 5 } />
118121 </ button >
119122 ) }
@@ -123,25 +126,27 @@ export default function RenderDesktopView() {
123126 showIcon = { false }
124127 className = { 'w-7 h-7 hover:text-grey-400' }
125128 source = { Track . Source . Microphone }
126- onClick = { ( ) => settingsRef ( false ) } >
129+ onClick = { ( ) => settingsRef ( false ) }
130+ >
127131 { audioTrack . isMicrophoneEnabled ? (
128132 < MicrophoneIcon width = { 5 } height = { 5 } />
129133 ) : (
130134 < MicrophoneOff width = { 5 } height = { 5 } />
131135 ) }
132136 </ TrackToggle >
133137 ) }
134- < div > </ div >
138+
135139 < EditUserModal
136140 showModal = { showEditUser }
137141 setShowModal = { setShowEditUser }
138142 user = { editUser }
139143 />
140144 < button
141- className = ' w-7 h-7 hover:text-grey-400'
145+ className = " w-7 h-7 hover:text-grey-400"
142146 onClick = { ( ) => {
143147 setShowEditUser ( true ) ;
144- } } >
148+ } }
149+ >
145150 < GearIcon width = { 6 } height = { 6 } />
146151 </ button >
147152 </ div >
0 commit comments