Updates
This commit is contained in:
parent
0b7c70058d
commit
d2ae053cda
@ -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
|
||||
|
||||
@ -84,7 +84,7 @@ export default function AIPromptBlock({
|
||||
}
|
||||
}}
|
||||
componentRef={promptInputRef}
|
||||
autoFocus
|
||||
// autoFocus
|
||||
/>
|
||||
<AIPromptActionSection
|
||||
loading={loading}
|
||||
|
||||
@ -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) {
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user