diff --git a/sync-api-docs/propFormatter.js b/sync-api-docs/propFormatter.js index 407e091b320..2d0c33cf33d 100644 --- a/sync-api-docs/propFormatter.js +++ b/sync-api-docs/propFormatter.js @@ -213,8 +213,10 @@ function formatDefaultColumn(prop) { let colorBlock = ''; prop?.flowType?.elements.some(elem => { if (elem.name === 'NativeColorValue' && !tag.includes('null')) { - colorBlock = - ``; + colorBlock = ``; return true; } }); diff --git a/sync-api-docs/titleToId.js b/sync-api-docs/titleToId.js deleted file mode 100644 index 254bc16e335..00000000000 --- a/sync-api-docs/titleToId.js +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -function titleToId(title) { - return title.toLowerCase().replace(/[^a-z]+/g, '-'); -} - -module.exports = titleToId;