forked from Archives/Athou_commafeed
bump all dependencies
This commit is contained in:
@@ -22,8 +22,7 @@ export function FeedEntryFooter(props: FeedEntryFooterProps) {
|
||||
const mobile = !useMediaQuery(`(min-width: ${Constants.layout.mobileBreakpoint}px)`)
|
||||
const dispatch = useAppDispatch()
|
||||
|
||||
const showSharingButtons =
|
||||
sharingSettings && (Object.values(sharingSettings) as Array<typeof sharingSettings[keyof typeof sharingSettings]>).some(v => v)
|
||||
const showSharingButtons = sharingSettings && Object.values(sharingSettings).some(v => v)
|
||||
|
||||
const readStatusButtonClicked = () => dispatch(markEntry({ entry: props.entry, read: !props.entry.read }))
|
||||
const onTagsChange = (values: string[]) =>
|
||||
|
||||
@@ -22,7 +22,7 @@ export function ProfileSettings() {
|
||||
|
||||
const form = useForm<FormData>({
|
||||
validate: {
|
||||
newPasswordConfirmation: (value: string, values: FormData) => (value !== values.newPassword ? t`Passwords do not match` : null),
|
||||
newPasswordConfirmation: (value, values) => (value !== values.newPassword ? t`Passwords do not match` : null),
|
||||
},
|
||||
})
|
||||
const { setValues } = form
|
||||
|
||||
@@ -29,7 +29,37 @@ import "dayjs/locale/sk"
|
||||
import "dayjs/locale/sv"
|
||||
import "dayjs/locale/tr"
|
||||
import "dayjs/locale/zh"
|
||||
import { ar, ca, cs, cy, da, de, en, es, fa, fi, fr, gl, hu, id, it, ja, ko, ms, nb, nl, nn, pl, pt, ru, sk, sv, tr, zh } from "make-plural"
|
||||
import {
|
||||
ar,
|
||||
ca,
|
||||
cs,
|
||||
cy,
|
||||
da,
|
||||
de,
|
||||
en,
|
||||
es,
|
||||
fa,
|
||||
fi,
|
||||
fr,
|
||||
gl,
|
||||
hu,
|
||||
id,
|
||||
it,
|
||||
ja,
|
||||
ko,
|
||||
ms,
|
||||
nb,
|
||||
nl,
|
||||
nn,
|
||||
pl,
|
||||
PluralCategory,
|
||||
pt,
|
||||
ru,
|
||||
sk,
|
||||
sv,
|
||||
tr,
|
||||
zh,
|
||||
} from "make-plural"
|
||||
import { useEffect } from "react"
|
||||
import { messages as arMessages } from "./locales/ar/messages"
|
||||
import { messages as caMessages } from "./locales/ca/messages"
|
||||
@@ -64,7 +94,7 @@ interface Locale {
|
||||
key: string
|
||||
label: string
|
||||
messages: Messages
|
||||
plurals?: (n: number | string, ord?: boolean) => string
|
||||
plurals?: (n: number | string, ord?: boolean) => PluralCategory
|
||||
}
|
||||
|
||||
// add an object to the array to add a new locale
|
||||
|
||||
Reference in New Issue
Block a user