Remove focuser machiner
This commit is contained in:
@@ -955,13 +955,6 @@ const Index = () => {
|
||||
}).replace(/(\d+)\/(\d+)\/(\d+),\s(\d+):(\d+):(\d+)/, '$3-$1-$2 $4:$5:$6');
|
||||
};
|
||||
|
||||
// Auto-focus current note textarea on mount
|
||||
useEffect(() => {
|
||||
if (currentNoteRef.current) {
|
||||
currentNoteRef.current.focus();
|
||||
}
|
||||
}, []); // Empty dependency array means this runs once on mount
|
||||
|
||||
// Load font size setting
|
||||
const loadFontSizeSetting = async () => {
|
||||
try {
|
||||
@@ -1102,6 +1095,7 @@ const Index = () => {
|
||||
setCurrentNote(e.target.value);
|
||||
}}
|
||||
onBlur={handleCurrentNoteBlur}
|
||||
autoFocus
|
||||
className={`h-[calc(100%-2rem)] border-0 resize-none focus:ring-0 text-slate-200 bg-transparent ${getTextClass('2xl')}`}
|
||||
placeholder="Start writing your thoughts..."
|
||||
/>
|
||||
|
Reference in New Issue
Block a user