diff --git a/web/src/components/MemoContent/EmbeddedContent/EmbeddedResource.tsx b/web/src/components/MemoContent/EmbeddedContent/EmbeddedAttachment.tsx
similarity index 93%
rename from web/src/components/MemoContent/EmbeddedContent/EmbeddedResource.tsx
rename to web/src/components/MemoContent/EmbeddedContent/EmbeddedAttachment.tsx
index f75ddc00b..179c94ce2 100644
--- a/web/src/components/MemoContent/EmbeddedContent/EmbeddedResource.tsx
+++ b/web/src/components/MemoContent/EmbeddedContent/EmbeddedAttachment.tsx
@@ -36,7 +36,7 @@ const getAdditionalClassNameWithParams = (params: URLSearchParams) => {
return additionalClassNames.join(" ");
};
-const EmbeddedResource = observer(({ resourceId: uid, params: paramsStr }: Props) => {
+const EmbeddedAttachment = observer(({ resourceId: uid, params: paramsStr }: Props) => {
const loadingState = useLoading();
const attachment = attachmentStore.getAttachmentByName(uid);
const params = new URLSearchParams(paramsStr);
@@ -59,4 +59,4 @@ const EmbeddedResource = observer(({ resourceId: uid, params: paramsStr }: Props
);
});
-export default EmbeddedResource;
+export default EmbeddedAttachment;
diff --git a/web/src/components/MemoContent/EmbeddedContent/index.tsx b/web/src/components/MemoContent/EmbeddedContent/index.tsx
index dec1b2721..8eaadc120 100644
--- a/web/src/components/MemoContent/EmbeddedContent/index.tsx
+++ b/web/src/components/MemoContent/EmbeddedContent/index.tsx
@@ -1,5 +1,5 @@
+import EmbeddedAttachment from "./EmbeddedAttachment";
import EmbeddedMemo from "./EmbeddedMemo";
-import EmbeddedResource from "./EmbeddedResource";
import Error from "./Error";
interface Props {
@@ -17,7 +17,7 @@ const EmbeddedContent = ({ resourceName, params }: Props) => {
if (resourceType === "memos") {
return ;
} else if (resourceType === "attachments") {
- return ;
+ return ;
}
return ;
};