diff --git a/packages/cms/package.json b/packages/cms/package.json index d695384e..5d7127c9 100644 --- a/packages/cms/package.json +++ b/packages/cms/package.json @@ -21,33 +21,33 @@ "prettier:fix": "prettier . --write" }, "dependencies": { - "@atmina/formbuilder": "^0.0.6", - "@payloadcms/bundler-vite": "^0.1.5", - "@payloadcms/db-postgres": "^0.2.2", - "@payloadcms/richtext-slate": "^1.3.1", - "clsx": "^2.0.0", - "dotenv": "^16.3.1", + "@atmina/formbuilder": "^2.0.0", + "@payloadcms/bundler-vite": "^0.1.6", + "@payloadcms/db-postgres": "^0.6.0", + "@payloadcms/richtext-slate": "^1.4.0", + "clsx": "^2.1.0", + "dotenv": "^16.4.5", "express": "^4.18.2", "node-cron": "^3.0.3", - "payload": "^2.5.0", + "payload": "^2.11.1", "react": "^18.2.0", - "react-hook-form": "^7.49.2", + "react-hook-form": "^7.50.1", "typesense": "^1.8.0-2" }, "devDependencies": { - "@atmina/linting": "^2.0.1", - "@types/eslint": "^8.56.0", + "@atmina/linting": "^2.1.2", + "@types/eslint": "^8.56.3", "@types/express": "^4.17.21", "@types/node-cron": "^3.0.11", "@types/passport": "^1.0.16", - "@types/pg": "^8.10.9", - "autoprefixer": "^10.4.16", + "@types/pg": "^8.11.0", + "autoprefixer": "^10.4.17", "copyfiles": "^2.4.1", "cross-env": "^7.0.3", "eslint": "^8.56.0", - "prettier": "^3.1.1", - "tailwindcss": "^3.4.0", - "ts-node": "10.9.1", + "prettier": "^3.2.5", + "tailwindcss": "^3.4.1", + "ts-node": "10.9.2", "ts-node-dev": "^2.0.0", "typescript": "^5.3.3" }, diff --git a/packages/cms/src/components/after-login/components/authenticated-mishap.tsx b/packages/cms/src/components/after-login/components/authenticated-mishap.tsx index 3dad8218..4885d2e8 100644 --- a/packages/cms/src/components/after-login/components/authenticated-mishap.tsx +++ b/packages/cms/src/components/after-login/components/authenticated-mishap.tsx @@ -1,13 +1,11 @@ import React, {type FC} from 'react'; -export const AuthenticatedMishap: FC = () => { - return ( -

- Well, this should have been moving forward now actually. This is odd, you - shouldn't see this... -
- If you are actually seeing this, you probably know whom to contact. - Contact them with as much information on how to reproduce this as you can! -

- ); -}; +export const AuthenticatedMishap: FC = () => ( +

+ Well, this should have been moving forward now actually. This is odd, you + shouldn't see this... +
+ If you are actually seeing this, you probably know whom to contact. Contact + them with as much information on how to reproduce this as you can! +

+); diff --git a/packages/cms/src/components/after-login/components/missing-cookie.tsx b/packages/cms/src/components/after-login/components/missing-cookie.tsx index ab05c64d..45366a74 100644 --- a/packages/cms/src/components/after-login/components/missing-cookie.tsx +++ b/packages/cms/src/components/after-login/components/missing-cookie.tsx @@ -1,15 +1,13 @@ import React, {type FC} from 'react'; -export const MissingCookie: FC = () => { - return ( -

- You are not logged in on YTF. Click{' '} - - here - {' '} - to log in through Discord. -

- ); -}; +export const MissingCookie: FC = () => ( +

+ You are not logged in on YTF. Click{' '} + + here + {' '} + to log in through Discord. +

+); diff --git a/packages/cms/src/components/forms/fields/textarea-field.tsx b/packages/cms/src/components/forms/fields/textarea-field.tsx index a14f9f73..e3cc6e26 100644 --- a/packages/cms/src/components/forms/fields/textarea-field.tsx +++ b/packages/cms/src/components/forms/fields/textarea-field.tsx @@ -16,18 +16,16 @@ export const TextareaField: FC = ({ className, inputClassName, ...formProps -}) => { - return ( -
-