mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-19 18:13:41 -05:00
Fix a few linting errors
This commit is contained in:
parent
9a70af64ce
commit
e0ee01e614
2 changed files with 4 additions and 4 deletions
|
@ -19,7 +19,7 @@ import type {
|
|||
ClientWellKnown,
|
||||
EventID,
|
||||
EventRowID,
|
||||
EventType,
|
||||
EventType, JSONValue,
|
||||
LoginFlowsResponse,
|
||||
LoginRequest,
|
||||
Mentions,
|
||||
|
@ -39,7 +39,7 @@ import type {
|
|||
RoomSummary,
|
||||
TimelineRowID,
|
||||
UserID,
|
||||
UserProfile, JSONValue,
|
||||
UserProfile,
|
||||
} from "./types"
|
||||
|
||||
export interface ConnectionEvent {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { useEffect, useState } from "react"
|
||||
import Client from "@/api/client.ts"
|
||||
import { UserProfile } from "@/api/types"
|
||||
import { ensureArray } from "@/util/validation.ts"
|
||||
import Client from "@/api/client.ts";
|
||||
|
||||
interface PronounSet {
|
||||
subject: string
|
||||
|
@ -28,7 +28,7 @@ interface SetTimezoneProps {
|
|||
client: Client
|
||||
}
|
||||
|
||||
const getCurrentTimezone = () => Intl.DateTimeFormat().resolvedOptions().timeZone
|
||||
const getCurrentTimezone = () => new Intl.DateTimeFormat().resolvedOptions().timeZone
|
||||
|
||||
const currentTimeAdjusted = (tz: string) => {
|
||||
const lang = navigator.language || "en-US"
|
||||
|
|
Loading…
Add table
Reference in a new issue