🐛 fix: Remove unused ratio variable from server traffic log and server form for cleaner code

This commit is contained in:
web
2025-09-28 09:01:03 -07:00
parent 6a823b8faa
commit 55034dc97d
3 changed files with 0 additions and 5 deletions
@@ -286,7 +286,6 @@ export default function ServersPage() {
setLoading(true);
const { id, created_at, updated_at, last_reported_at, status, ...others } =
row as any;
// @ts-expect-error
const body: API.CreateServerRequest = {
name: others.name,
country: others.country,
@@ -353,7 +353,6 @@ export default function ServerForm(props: {
address: '',
country: '',
city: '',
ratio: 1,
...initialValues,
protocols: PROTOCOLS.map((type) => {
const existingProtocol = initialValues.protocols?.find((p) => p.type === type);