diff --git a/src/Auth.tsx b/src/Auth.tsx index 1e2c6477e..e7ea14fd4 100644 --- a/src/Auth.tsx +++ b/src/Auth.tsx @@ -7,7 +7,7 @@ export const Auth = ({ children }: React.PropsWithChildren) => { const isLoggingIn = authState.matches('checkIfLoggedIn') return isLoggingIn ? ( - + Loading Design Studio... ) : ( diff --git a/src/routes/Home.tsx b/src/routes/Home.tsx index 983278fa1..475c05ed0 100644 --- a/src/routes/Home.tsx +++ b/src/routes/Home.tsx @@ -1,5 +1,5 @@ import type { FormEvent, HTMLProps } from 'react' -import { useEffect, useRef } from 'react' +import { useEffect } from 'react' import { toast } from 'react-hot-toast' import { useHotkeys } from 'react-hotkeys-hook' import { Link, useNavigate, useSearchParams } from 'react-router-dom' @@ -182,7 +182,6 @@ const Home = () => { splitKey: '|', } ) - const ref = useRef(null) const projects = useFolders() const [searchParams, setSearchParams] = useSearchParams() const { searchResults, query, setQuery } = useProjectSearch(projects) @@ -191,9 +190,9 @@ const Home = () => { 'flex items-center p-2 gap-2 leading-tight border-transparent dark:border-transparent enabled:dark:border-transparent enabled:hover:border-primary/50 enabled:dark:hover:border-inherit active:border-primary dark:bg-transparent hover:bg-transparent' return ( -
+
-
+
{ readWriteProjectDir={readWriteProjectDir} className="col-start-2 -col-end-1" /> -