export function getDescription(text) { if(text.length > 10){ return text.substring(0, 10) + "..." } return text }