mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:37:30 +00:00
merge main
This commit is contained in:
@@ -43,7 +43,7 @@ export function SessionItem({
|
|||||||
const currentLocale = useLocale();
|
const currentLocale = useLocale();
|
||||||
moment.locale(currentLocale === "zh" ? "zh-cn" : currentLocale);
|
moment.locale(currentLocale === "zh" ? "zh-cn" : currentLocale);
|
||||||
|
|
||||||
const [_loading, setLoading] = useState<boolean>(false);
|
const [loading, setLoading] = useState<boolean>(false);
|
||||||
|
|
||||||
async function clearSessionId(id: string) {
|
async function clearSessionId(id: string) {
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
@@ -63,7 +63,7 @@ export function SessionItem({
|
|||||||
|
|
||||||
const { valid, verifiedAt } = isSessionValid(session);
|
const { valid, verifiedAt } = isSessionValid(session);
|
||||||
|
|
||||||
const [_error, setError] = useState<string | null>(null);
|
const [error, setError] = useState<string | null>(null);
|
||||||
|
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user