Skip to content
This repository was archived by the owner on Oct 16, 2023. It is now read-only.
This repository was archived by the owner on Oct 16, 2023. It is now read-only.

Refactor code #167

@ya7on

Description

@ya7on

We need to fix some places in our code.

  • toString method we are used for strings. It is overcode. We need to remove it.
    msg.message.user.name is already string. We do not need to convert it to string.
    image
  • We use let operator for names that we are not been changing. The good solution would be replace it to const operator.
    For example this place. We assign these names only one time. It is redundant to keep their values in variables.
    image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions