mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-01 19:32:27 +08:00
fix (eslint): linting
This commit is contained in:
@ -10,7 +10,7 @@ export function HomePageComponent({ error }) {
|
||||
|
||||
useEffect(() => {
|
||||
const p = new URLSearchParams(location.search);
|
||||
if(p.get("error")) {
|
||||
if (p.get("error")) {
|
||||
error(new Error(t(p.get("error"))));
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user