Refactor: Wakatime card: Add missing returns statement for createTextNode function (#3032)

This commit is contained in:
Alexandr Garbuzov 2023-08-02 09:58:04 +03:00 committed by GitHub
parent 58d8cd4e67
commit 6d086b4c40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,6 +95,7 @@ const createLanguageTextNode = ({ langs, y }) => {
* @param {boolean} args.hideProgress Whether to hide the progress bar.
* @param {string} args.progressBarColor The color of the progress bar.
* @param {string} args.progressBarBackgroundColor The color of the progress bar background.
* @returns {string} The text SVG node.
*/
const createTextNode = ({
id,