style: satisfy cumulative biome checks
This commit is contained in:
1 parent
cb77b2d3b9
commit
b9c47aa89a
10 files changed
+34
-37
No files matched your search
@@ -49,7 +49,7 @@ export async function applyPreset(formData: FormData): Promise<void> {
|
||||
if (result.ok) revalidatePath("/", "layout");
|
||||
redirect(
|
||||
result.ok
|
||||
? "/admin/theme?preset=" + encodeURIComponent(name)
|
||||
? `/admin/theme?preset=${encodeURIComponent(name)}`
|
||||
: "/admin/theme",
|
||||
);
|
||||
}
|
||||
@@ -80,7 +80,7 @@ export async function applyCustomTheme(formData: FormData): Promise<void> {
|
||||
: "";
|
||||
redirect(
|
||||
result.ok
|
||||
? "/admin/theme?theme=" + encodeURIComponent(name)
|
||||
? `/admin/theme?theme=${encodeURIComponent(name)}`
|
||||
: "/admin/theme",
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user