style: format code with prettier

This commit is contained in:
Jason
2026-03-08 21:45:05 +08:00
parent c54515742f
commit fc6f2af4c6
6 changed files with 20 additions and 11 deletions
+2 -1
View File
@@ -55,7 +55,8 @@ const EnvPanel: React.FC = () => {
let description = detail || undefined;
if (detail === "OPENCLAW_ENV_EMPTY") {
description = t("openclaw.env.empty", {
defaultValue: "OpenClaw env cannot be empty. Use {} for an empty object.",
defaultValue:
"OpenClaw env cannot be empty. Use {} for an empty object.",
});
} else if (detail === "OPENCLAW_ENV_INVALID_JSON") {
description = t("openclaw.env.invalidJson", {
+6 -3
View File
@@ -179,9 +179,12 @@ const ToolsPanel: React.FC = () => {
<SelectItem
value={OPENCLAW_UNSUPPORTED_PROFILE}
disabled={true}
>{`${unsupportedProfile} (${t("openclaw.tools.unsupportedProfileLabel", {
defaultValue: "unsupported",
})})`}</SelectItem>
>{`${unsupportedProfile} (${t(
"openclaw.tools.unsupportedProfileLabel",
{
defaultValue: "unsupported",
},
)})`}</SelectItem>
)}
{OPENCLAW_TOOL_PROFILES.map((profile) => (
<SelectItem key={profile} value={profile}>