diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..2f8cdfd --- /dev/null +++ b/.prettierrc @@ -0,0 +1,7 @@ +{ + "tabWidth": 2, + "useTabs": false, + "printWidth": 120, + "endOfLine": "lf", + "proseWrap": "preserve" +} diff --git a/frontend/src/admin.ts b/frontend/src/admin.ts index 3487455..468fad4 100644 --- a/frontend/src/admin.ts +++ b/frontend/src/admin.ts @@ -567,11 +567,11 @@ async function renderServiceRow(service: any) { try { // create a list of key-value pairs for each property in the JSON object const detailObj = JSON.parse(svcDetail); - // create a list item for each key-value pair in the object - const detailList = Object.entries(detailObj) - .map(([key, value]) => `