Skip to content

Commit

Permalink
Rename Breadcrump to Breadcrumb
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenklar committed Feb 4, 2025
1 parent be2badd commit b44ea2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import PropTypes from 'prop-types'

import { baseUrl } from 'rdmo/core/assets/js/utils/meta'

const Breadcrump = ({ overview, page, fetchPage }) => {
const Breadcrumb = ({ overview, page, fetchPage }) => {

const handleClick = (event) => {
event.preventDefault()
Expand Down Expand Up @@ -35,10 +35,10 @@ const Breadcrump = ({ overview, page, fetchPage }) => {
)
}

Breadcrump.propTypes = {
Breadcrumb.propTypes = {
overview: PropTypes.object.isRequired,
page: PropTypes.object,
fetchPage: PropTypes.func.isRequired
}

export default Breadcrump
export default Breadcrumb
4 changes: 2 additions & 2 deletions rdmo/projects/assets/js/interview/containers/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { connect } from 'react-redux'

import { hasErrors, isReady } from '../utils/interview'

import Breadcrump from '../components/main/Breadcrump'
import Breadcrumb from '../components/main/Breadcrumb'
import Contact from '../components/main/Contact'
import Done from '../components/main/Done'
import Page from '../components/main/page/Page'
Expand All @@ -29,7 +29,7 @@ const Main = ({ config, settings, templates, project, interview, contact,
} else if (isReady(interview)) {
return (
<div>
<Breadcrump
<Breadcrumb
overview={project.overview}
page={interview.page}
fetchPage={interviewActions.fetchPage}
Expand Down

0 comments on commit b44ea2c

Please sign in to comment.