Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RCW-7 created a method for converting the price to two characters and… #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dimkasyan
Copy link
Contributor

RCW-7 created a method for converting the price to two characters and added it to different components

return crop[1].length;
}

const truncated = num => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

truncate = обрезать, а ты форматируешь
давай переименуем formatSum(number)

и зачем стрелку если можно сделать функцию?

@@ -9,7 +9,8 @@
</table>
</template>
<script>
import moment from "moment"
import moment from "moment";
import truncated from "../../utils/truncated";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

зачем ../../, если есть @?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants