style: satisfy cumulative biome checks
This commit is contained in:
@@ -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