🔧 Reworked metadata UX
This commit is contained in:
@@ -13,15 +13,6 @@ export const detectIssueTypes = (deck: string): any => {
|
||||
{ regex: [/mini\Wseries/gim], displayName: "Mini-Series" },
|
||||
];
|
||||
|
||||
// const issueNames = await axios.request({
|
||||
// url: "http://localhost:3000/api/import/scrapeIssueNamesFromDOM",
|
||||
// method: "POST",
|
||||
// data: {
|
||||
// html: deck,
|
||||
// },
|
||||
// });
|
||||
// console.log(deck);
|
||||
// console.log("DOM", issueNames);
|
||||
const matches = map(issueTypeMatchers, (matcher) => {
|
||||
return getIssueTypeDisplayName(deck, matcher.regex, matcher.displayName);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user