forked from baron/baron-sso
local 브런치 code-check 오류 수정
This commit is contained in:
@@ -276,10 +276,7 @@ function AppLayout() {
|
||||
const handleSessionExpiryToggle = () => {
|
||||
setIsSessionExpiryEnabled((prev) => {
|
||||
const next = !prev;
|
||||
window.localStorage.setItem(
|
||||
"baron_session_expiry_enabled",
|
||||
String(next),
|
||||
);
|
||||
window.localStorage.setItem("baron_session_expiry_enabled", String(next));
|
||||
return next;
|
||||
});
|
||||
};
|
||||
@@ -467,9 +464,7 @@ function AppLayout() {
|
||||
onClick={handleSessionExpiryToggle}
|
||||
className={[
|
||||
"relative inline-flex h-6 w-11 shrink-0 items-center rounded-full transition",
|
||||
isSessionExpiryEnabled
|
||||
? "bg-primary"
|
||||
: "bg-muted",
|
||||
isSessionExpiryEnabled ? "bg-primary" : "bg-muted",
|
||||
].join(" ")}
|
||||
>
|
||||
<span
|
||||
|
||||
Reference in New Issue
Block a user