diff --git a/.env b/.env index d72dbacc..f0c23837 100644 --- a/.env +++ b/.env @@ -1,2 +1,2 @@ -VITE_API_URL=https://api.revolt.chat +VITE_API_URL=http://local.revolt.chat:8000 VITE_THEMES_URL=https://static.revolt.chat/themes diff --git a/external/lang b/external/lang index 9db39a2e..210172de 160000 --- a/external/lang +++ b/external/lang @@ -1 +1 @@ -Subproject commit 9db39a2eecc5fbb7ed06d4598da60700e96e3274 +Subproject commit 210172de724fcd5adeacec221bd9da30350afc06 diff --git a/package.json b/package.json index 6cc36500..102e8282 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "@types/prismjs": "^1.16.5", "@types/react-helmet": "^6.1.1", "@types/react-router-dom": "^5.1.7", + "@types/react-scroll": "^1.8.2", "@types/styled-components": "^5.1.10", "@types/twemoji": "^12.1.1", "@typescript-eslint/eslint-plugin": "^4.27.0", @@ -66,6 +67,7 @@ "react-overlapping-panels": "1.2.1", "react-redux": "^7.2.4", "react-router-dom": "^5.2.0", + "react-scroll": "^1.8.2", "react-tippy": "^1.4.0", "redux": "^4.1.0", "revolt.js": "4.3.0", @@ -76,6 +78,7 @@ "twemoji": "^13.1.0", "typescript": "^4.3.2", "ulid": "^2.3.0", + "use-resize-observer": "^7.0.0", "vite": "^2.3.7", "vite-plugin-pwa": "^0.8.1" } diff --git a/src/components/common/ChannelIcon.tsx b/src/components/common/ChannelIcon.tsx index db8ee884..a7934624 100644 --- a/src/components/common/ChannelIcon.tsx +++ b/src/components/common/ChannelIcon.tsx @@ -32,12 +32,6 @@ export default function ChannelIcon(props: Props & Omit