Run prettier

This commit is contained in:
Przemek Więch
2026-05-11 18:09:39 +02:00
parent 8202c9cd05
commit 048beb7d45
2 changed files with 2 additions and 5 deletions

View File

@@ -141,10 +141,7 @@ interface Arguments {
config: Config;
}
function getParamFromSearch(
name: string,
search: queryString.ParsedQuery,
) {
function getParamFromSearch(name: string, search: queryString.ParsedQuery) {
const value = search[name];
return typeof value === 'string' ? value : undefined;
}

View File

@@ -70,7 +70,7 @@ export function argsToConfig(args: ParsedQuery<unknown>): Config {
export function configToArgs(config: Config): ParsedQuery {
const result: ParsedQuery = {};
const color = COLOR_ARG_INVERSE.get(config.color);
if (color){
if (color) {
result.c = color;
}
const id = ID_ARG_INVERSE.get(config.id);