refac
This commit is contained in:
1 parent
a89d29db9c
commit
a0692a434d
1 file changed
+1
-1
@@ -54,7 +54,7 @@
|
||||
}
|
||||
|
||||
if (id.startsWith('http://') || id.startsWith('https://')) {
|
||||
source = { ...source, url: id };
|
||||
source = { name: id, ...source, url: id };
|
||||
}
|
||||
|
||||
const existingSource = acc.find((item) => item.id === id);
|
||||
|
||||
Reference in new issue
Block a user