This commit is contained in:
Benjamin Toby 2025-12-05 09:13:14 +01:00
parent 0b7c70058d
commit d2ae053cda
4 changed files with 22 additions and 7 deletions

View File

@ -56,11 +56,11 @@ export default function Search<KeyType extends string>({
const inputRef = componentRef || React.useRef<HTMLInputElement>(null); const inputRef = componentRef || React.useRef<HTMLInputElement>(null);
React.useEffect(() => { // React.useEffect(() => {
if (props.autoFocus) { // if (props.autoFocus) {
inputRef.current?.focus(); // inputRef.current?.focus();
} // }
}, []); // }, []);
return ( return (
<Row <Row

View File

@ -84,7 +84,7 @@ export default function AIPromptBlock({
} }
}} }}
componentRef={promptInputRef} componentRef={promptInputRef}
autoFocus // autoFocus
/> />
<AIPromptActionSection <AIPromptActionSection
loading={loading} loading={loading}

View File

@ -100,7 +100,7 @@ export default function FileUpload({
const [fileDraggedOver, setFileDraggedOver] = React.useState(false); const [fileDraggedOver, setFileDraggedOver] = React.useState(false);
const inputRef = React.useRef<HTMLInputElement>(null); const inputRef = React.useRef<HTMLInputElement>(null);
const tempFileURLRef = React.useRef<string>(null); const tempFileURLRef = React.useRef<string>("");
React.useEffect(() => { React.useEffect(() => {
if (existingFileUrl) { if (existingFileUrl) {

View File

@ -45,6 +45,21 @@ export const work = {
"NGINX Reverse Proxy", "NGINX Reverse Proxy",
], ],
}, },
{
title: "Mediajury",
description: "The ultimate debate platform",
href: "https://mediajury.org",
technologies: [
"SQL",
"MariaDB",
"Next JS",
"Docker",
"NGINX",
"Typescripy",
"Bun JS",
"Tailwind CSS",
],
},
{ {
title: "Ifuekosa LLC", title: "Ifuekosa LLC",
image: "/images/work/devops/server-management.png", image: "/images/work/devops/server-management.png",