mirror of
https://github.com/idanoo/autobrr
synced 2025-07-26 10:19:13 +00:00
chore(web): relocations and cleanups (#957)
* delete manifest (vite-plugin-pwa generates it) * fix upper case letter on screen components * fix imports of screens components missing upper case * remove default export from Base.tsx * move RegexPlayground to settings import * replace some relative path imports * remove React and ununsed imports * small alignments on vite.config.ts * move Dashboard and Releases to screens * move filters/index.tsx to filters/index.ts * remove default export from APIKeyAddForm * remove default export from FilterAddForm * organize imports and exports for the router * add .vscode workspace to gitignore * some touchs on .gitignore file * fix some eslint rules
This commit is contained in:
parent
72bb2ddadb
commit
c7ec93722b
41 changed files with 187 additions and 230 deletions
|
@ -23,7 +23,7 @@ export const Onboarding = () => {
|
|||
|
||||
if (!values.username)
|
||||
obj.username = "Required";
|
||||
|
||||
|
||||
if (!values.password1)
|
||||
obj.password1 = "Required";
|
||||
|
||||
|
@ -32,7 +32,7 @@ export const Onboarding = () => {
|
|||
|
||||
if (values.password1 !== values.password2)
|
||||
obj.password2 = "Passwords don't match!";
|
||||
|
||||
|
||||
return obj;
|
||||
};
|
||||
|
||||
|
@ -83,4 +83,3 @@ export const Onboarding = () => {
|
|||
</div>
|
||||
);
|
||||
};
|
||||
|
7
web/src/screens/auth/index.ts
Normal file
7
web/src/screens/auth/index.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* Copyright (c) 2021 - 2023, Ludvig Lundgren and the autobrr contributors.
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
|
||||
export { Login } from "./Login";
|
||||
export { Onboarding } from "./Onboarding";
|
Loading…
Add table
Add a link
Reference in a new issue