mirror of
https://github.com/SomboChea/ui
synced 2026-01-18 09:06:14 +07:00
fix: routes - Replaced class by func. comp (#159)
* refactor: updated routes * fix: fixed conflicts issues * fix: rollback port
This commit is contained in:
committed by
Juan Picado @jotadeveloper
parent
8c66dbc4d7
commit
5c06ace14a
@@ -59,10 +59,6 @@ export function formatDateDistance(lastUpdate: Date | string | number): string {
|
||||
return distanceInWordsToNow(new Date(lastUpdate));
|
||||
}
|
||||
|
||||
export function buildScopePackage(scope: string, packageName: string): string {
|
||||
return `@${scope}/${packageName}`;
|
||||
}
|
||||
|
||||
/**
|
||||
* For <LastSync /> component
|
||||
* @param {array} uplinks
|
||||
|
||||
Reference in New Issue
Block a user