Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmyn5600 committed Mar 13, 2024
1 parent aed5329 commit 99b5f9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/app/src/pages/app/Room/RoomHeader/RoomHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ const RoomHeader = (): JSX.Element => {
const { classes } = useRoomHeaderStyles()
const { currentRoom } = useGlobalStore()

// @ts-nocheck
const friend = currentRoom
? currentRoom?.roomData?.relationships[0]?.userData2
? // @ts-expect-error
currentRoom?.roomData?.relationships[0]?.userData2
: null
const navigate = useNavigate()

Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/pages/app/UserProfile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import useGlobalStore from "../../../store/useGlobalStore"
import MainLayout from "../MainLayout.tsx"
import useRoomStyles from "./index.styles"

export default function Profile() {
export default function Profile () {
const navigate = useNavigate()
const supabase = useSupabaseClient<Database>()
const { classes } = useRoomStyles()
Expand Down

0 comments on commit 99b5f9d

Please sign in to comment.