diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 8b9ec442..3a812c96 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -4,7 +4,6 @@ const config = { extends: ['noodle/base'], parserOptions: { tsconfigRootDir: __dirname, - project: true, }, }; diff --git a/apps/web/package.json b/apps/web/package.json index 9a8d680c..5b9f046f 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -42,7 +42,7 @@ "next-seo": "^6.1.0", "next-themes": "^0.2.1", "react": "18.2.0", - "react-animate-height": "^3.1.2", + "react-animate-height": "^3.2.2", "react-dom": "18.2.0", "react-wrap-balancer": "^1.0.0", "superjson": "^1.12.4", @@ -54,7 +54,7 @@ "@noodle/test-utils": "workspace:^", "@noodle/tsconfig": "workspace:^", "@noodle/vitest": "workspace:^", - "@playwright/test": "^1.35.1", + "@playwright/test": "^1.36.0", "@testing-library/dom": "^9.3.1", "@testing-library/user-event": "^14.4.3", "@types/react": "18.2.14", diff --git a/apps/web/src/components/Input.tsx b/apps/web/src/components/Input.tsx index f16b9ffc..a4eace9c 100644 --- a/apps/web/src/components/Input.tsx +++ b/apps/web/src/components/Input.tsx @@ -30,10 +30,18 @@ const Input = React.forwardRef( 'placeholder:text-gray-10 dark:placeholder:text-graydark-10 flex-1 bg-transparent p-4 text-base outline-none', className, )} - onMouseEnter={() => setIsInputHovered(true)} - onMouseLeave={() => setIsInputHovered(false)} - onFocus={() => setIsInputActive(true)} - onBlur={() => setIsInputActive(false)} + onMouseEnter={() => { + setIsInputHovered(true); + }} + onMouseLeave={() => { + setIsInputHovered(false); + }} + onFocus={() => { + setIsInputActive(true); + }} + onBlur={() => { + setIsInputActive(false); + }} /> ); diff --git a/apps/web/src/components/Navbar.tsx b/apps/web/src/components/Navbar.tsx index 33da495c..7a5ad083 100644 --- a/apps/web/src/components/Navbar.tsx +++ b/apps/web/src/components/Navbar.tsx @@ -57,12 +57,12 @@ export const Navbar = () => {
-
    +
    • Home @@ -71,7 +71,7 @@ export const Navbar = () => { Features @@ -80,7 +80,7 @@ export const Navbar = () => { Mission @@ -89,7 +89,7 @@ export const Navbar = () => { FAQ @@ -99,7 +99,7 @@ export const Navbar = () => { href="https://discord.gg/SERySfj8Eg" target="_blank" rel="noopener noreferrer" - className="text-gray-11 dark:text-graydark-11 hover:text-gray-12 dark:hover:text-graydark-12 inline-block pb-2 pt-3 transition-colors md:py-3 md:pl-6 md:pr-4" + className="text-gray-11 dark:text-graydark-11 dark:hover:text-graydark-12 hover:text-gray-12 inline-block pb-2 pt-3 transition-colors md:py-3 md:pl-6 md:pr-4" > Discord @@ -112,7 +112,7 @@ export const Navbar = () => {
    • @@ -120,7 +120,7 @@ export const Navbar = () => {
    • @@ -132,7 +132,9 @@ export const Navbar = () => { className="flex items-center px-2" aria-expanded={height !== 0} aria-controls="example-panel" - onClick={() => setHeight(height === 0 ? 'auto' : 0)} + onClick={() => { + setHeight(height === 0 ? 'auto' : 0); + }} > Open Menu diff --git a/apps/web/src/pages/waitlist.tsx b/apps/web/src/pages/waitlist.tsx index abeb7699..aa457d4a 100644 --- a/apps/web/src/pages/waitlist.tsx +++ b/apps/web/src/pages/waitlist.tsx @@ -80,19 +80,23 @@ const WaitList: NextPage = () => { placeholder="Your name..." icon={} value={name} - onChange={(e) => setName(e.target.value)} + onChange={(e) => { + setName(e.target.value); + }} /> } value={email} - onChange={(e) => setEmail(e.target.value)} + onChange={(e) => { + setEmail(e.target.value); + }} />