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);
React.useEffect(() => {
if (props.autoFocus) {
inputRef.current?.focus();
}
}, []);
// React.useEffect(() => {
// if (props.autoFocus) {
// inputRef.current?.focus();
// }
// }, []);
return (
<Row

View File

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

View File

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

View File

@ -45,6 +45,21 @@ export const work = {
"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",
image: "/images/work/devops/server-management.png",