chore: add proper-lockfile for safe database read/write operations and implement retry logic for file access

This commit is contained in:
decolua 2026-03-27 10:31:35 +07:00
parent 3059df4014
commit 8759545260
15 changed files with 648 additions and 57 deletions

View file

@ -110,10 +110,7 @@ export default function LanguageSwitcher({ className = "" }) {
data-i18n-skip="true"
>
<span className="text-xl">{getLocaleInfo(locale).flag}</span>
<span className="text-sm font-medium">{getLocaleInfo(locale).name}</span>
<span className="material-symbols-outlined text-base">
{isOpen ? "expand_less" : "expand_more"}
</span>
<span className="text-xs font-medium uppercase">{locale.split("-")[0]}</span>
</button>
{/* Portal modal - renders at document.body to avoid parent layout constraints */}