Commit 11c0fdd9 authored by Casey Ydenberg's avatar Casey Ydenberg
Browse files

HOTFIX misnamed Figure component file

parent bc8b9b39
......@@ -25,8 +25,8 @@ import crossReference from '../../views/cross_reference_editable'
import { EditableBlockProps } from '../../views/editable_block'
import equation from '../../views/equation_editable'
import equationElement from '../../views/equation_element_editable'
import Figure, { FigureProps } from '../../views/Figure'
import figureElement from '../../views/figure_element_editable'
import Figure, { FigureProps } from '../../views/FigureComponent'
import inlineEquation from '../../views/inline_equation_editable'
import inlineFootnote from '../../views/inline_footnote_editable'
import keywordsElement from '../../views/keywords_element_editable'
......
......@@ -26,8 +26,8 @@ import crossReference, {
} from '../../views/cross_reference'
import equation from '../../views/equation'
import equationElement from '../../views/equation_element'
import Figure, { FigureProps } from '../../views/Figure'
import figureElement from '../../views/figure_element'
import Figure, { FigureProps } from '../../views/FigureComponent'
import inlineEquation from '../../views/inline_equation'
import inlineFootnote, {
InlineFootnoteProps,
......
......@@ -25,7 +25,7 @@ export interface FigureProps {
putAttachment: (file: File) => Promise<string>
}
const Figure = ({ putAttachment, permissions }: FigureProps) => {
const FigureComponent = ({ putAttachment, permissions }: FigureProps) => {
const Component: React.FC<ReactViewComponentProps<FigureNode>> = ({
nodeAttrs,
setNodeAttrs,
......@@ -134,4 +134,4 @@ const Placeholder = styled.div`
min-height: 100px;
`
export default Figure
export default FigureComponent
......@@ -25,8 +25,8 @@ import crossReference from '../src/views/cross_reference_editable'
import { EditableBlockProps } from '../src/views/editable_block'
import equation from '../src/views/equation_editable'
import equationElement from '../src/views/equation_element_editable'
import Figure, { FigureProps } from '../src/views/Figure'
import figureElement from '../src/views/figure_element_editable'
import Figure, { FigureProps } from '../src/views/FigureComponent'
import inlineEquation from '../src/views/inline_equation_editable'
import inlineFootnote from '../src/views/inline_footnote_editable'
import keywordsElement from '../src/views/keywords_element_editable'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment