mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-05 06:50:28 +03:00
Fix minor formatting and naming issues
This commit is contained in:
parent
c260af5023
commit
2a368d46fc
2 changed files with 3 additions and 2 deletions
|
|
@ -448,6 +448,7 @@ export function RoomTimeline({
|
|||
const [encUrlPreview] = useSetting(settingsAtom, 'encUrlPreview');
|
||||
const showUrlPreview = room.hasEncryptionStateEvent() ? encUrlPreview : urlPreview;
|
||||
const [showHiddenEvents] = useSetting(settingsAtom, 'showHiddenEvents');
|
||||
|
||||
const [hour24Clock] = useSetting(settingsAtom, 'hour24Clock');
|
||||
const [dateFormatString] = useSetting(settingsAtom, 'dateFormatString');
|
||||
|
||||
|
|
|
|||
|
|
@ -358,8 +358,8 @@ function CustomDateFormat({ dateFormatString, setDateFormatString }: CustomDateF
|
|||
}, [dateFormatString]);
|
||||
|
||||
const handleChange: ChangeEventHandler<HTMLInputElement> = (evt) => {
|
||||
const name = evt.currentTarget.value;
|
||||
setDateFormatCustom(name);
|
||||
const format = evt.currentTarget.value;
|
||||
setDateFormatCustom(format);
|
||||
};
|
||||
|
||||
const handleReset = () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue