From 65a027014b398627ce271c2bd6fa5ff969a23925 Mon Sep 17 00:00:00 2001 From: starnakin Date: Wed, 29 Nov 2023 22:51:57 +0100 Subject: [PATCH] chore: rename classs --- frontend/static/js/views/accounts/LoginView.js | 4 ++-- frontend/static/js/views/accounts/LogoutView.js | 4 ++-- frontend/static/js/views/accounts/RegisterView.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/static/js/views/accounts/LoginView.js b/frontend/static/js/views/accounts/LoginView.js index 1cf922a..f8c64dd 100644 --- a/frontend/static/js/views/accounts/LoginView.js +++ b/frontend/static/js/views/accounts/LoginView.js @@ -1,5 +1,5 @@ import { client, navigateTo } from "../../index.js"; -import AbstractUnAuthentificateView from "../AbstractNonAuthentified.js"; +import AbstractNonAuthentifiedView from "../AbstractNonAuthentified.js"; async function login() { @@ -27,7 +27,7 @@ async function login() }); } -export default class extends AbstractUnAuthentificateView { +export default class extends AbstractNonAuthentifiedView { constructor(params) { super(params, "/home"); } diff --git a/frontend/static/js/views/accounts/LogoutView.js b/frontend/static/js/views/accounts/LogoutView.js index 6903be5..3e0b7d6 100644 --- a/frontend/static/js/views/accounts/LogoutView.js +++ b/frontend/static/js/views/accounts/LogoutView.js @@ -1,7 +1,7 @@ import { client, navigateTo } from "../../index.js"; -import AbstractAuthentificateView from "../AbstractAuthentifiedView.js"; +import AbstractAuthentifiedView from "../AbstractAuthentifiedView.js"; -export default class extends AbstractAuthentificateView +export default class extends AbstractAuthentifiedView { constructor(params) { super(params); diff --git a/frontend/static/js/views/accounts/RegisterView.js b/frontend/static/js/views/accounts/RegisterView.js index 36575e6..e8c220d 100644 --- a/frontend/static/js/views/accounts/RegisterView.js +++ b/frontend/static/js/views/accounts/RegisterView.js @@ -1,5 +1,5 @@ import { client, navigateTo } from "../../index.js"; -import AbstractUnAuthentificateView from "../AbstractNonAuthentified.js"; +import AbstractAuthentifiedView from "../AbstractNonAuthentified.js"; async function register() { @@ -22,7 +22,7 @@ async function register() }); } -export default class extends AbstractUnAuthentificateView { +export default class extends AbstractAuthentifiedView { constructor(params) { super(params, "/home"); }