mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-26 18:04:45 +10:00
v5.1.0 (#2970)
* chore(release): v5.1.0 * feat: implement resume thumbnails * fix: remove unused mcp tools * docs: fix formatting of docs
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Creates a URL object with a url and label.
|
||||
* Returns empty strings if no URL is provided.
|
||||
*/
|
||||
export function createUrl(url?: string, label?: string): { url: string; label: string } {
|
||||
if (!url) return { url: "", label: "" };
|
||||
return { url, label: label || url };
|
||||
}
|
||||
Reference in New Issue
Block a user