message: fix: only try to load demos for patterns
diff: @@ -8,6 +8,9 @@ export const selectSrc = createSelector(
  if (!item) {
  return null;
  }
  + if (item.type !== "pattern") {
  + return null;
  + }
  return `${base}api/demo/${item.id}/index.html`;
  }
  );
  