Skip to content

Commit

Permalink
fix: export instead of export default
Browse files Browse the repository at this point in the history
  • Loading branch information
NyAndoMayah committed Oct 31, 2023
1 parent db21695 commit 64394ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/ui/haLayout/HaLayout.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { AppLocationContext } from '@react-admin/ra-navigation'
import { styled, ThemeProvider } from '@mui/styles'
import { Box, useMediaQuery } from '@mui/material'
import HaBreadCrumb from './menu/HaBreadCrumb'
import { HaBreadCrumb } from './menu/HaBreadCrumb'
import { HaMenu } from './menu/utils/'
import { HaAppBar } from './appBar'
import { useSidebarState } from 'react-admin'
Expand Down
4 changes: 1 addition & 3 deletions src/ui/haLayout/menu/HaBreadcrumb.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Breadcrumb, BreadcrumbItem } from '@react-admin/ra-navigation'
import { useState } from 'react'
import dataProvider from '../../../providers/dataProvider'

const HaBreadCrumb = () => {
export const HaBreadCrumb = () => {
const [studentRef, setStudentRef] = useState('...')

const getRef = ({ record }) => {
Expand Down Expand Up @@ -61,5 +61,3 @@ const HaBreadCrumb = () => {
</Breadcrumb>
)
}

export default HaBreadCrumb

0 comments on commit 64394ec

Please sign in to comment.