fix: missed type after refactor

This commit is contained in:
Jean-Philippe Sirois
2019-09-05 01:40:48 -04:00
parent f7ec493b2e
commit de7e06eb2a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ interface IMarkdownProps {
export function Markdown({
content,
...restProps
}: MarkdownProps): JSX.Element {
}: IMarkdownProps): JSX.Element {
React.useEffect(() => {
Prism.highlightAll()
}, [])
+1 -1
View File
@@ -51,7 +51,7 @@ export function ResourceHeader({
timeToRead,
recommendedReading,
externalResources,
}: ResourceHeaderProps) {
}: IResourceHeaderProps) {
const date = new Date(createdAt)
const month = date.toLocaleString("default", { month: "long" })
const day = date.getDate()