Skip to content

Commit 4eb4bd9

Browse files
committed
try another thing
1 parent d7d6b97 commit 4eb4bd9

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ import useInitialise from './src/hooks/useInitialise';
4343
import usePost from './src/hooks/usePost';
4444
import usePut from './src/hooks/usePut';
4545
import useSignIn from './src/hooks/useSignIn';
46-
import useUserProfile
47-
from './src/hooks/useUserProfile';
48-
46+
import useUserProfile from './src/hooks/useUserProfile';
4947
export {
5048
AddressUtility,
5149
BackButton,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@linn-it/linn-form-components-library",
3-
"version": "31.1.0-alpha",
3+
"version": "31.1.0-alpha.1",
44
"private": false,
55
"main": "dist/index.cjs.js",
66
"module": "dist/index.esm.js",

src/components/Breadcrumbs.js

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ import Typography from '@mui/material/Typography';
33
import Link from '@mui/material/Link';
44
import Box from '@mui/material/Box';
55

6-
function Slash() {
7-
return <> {' / '} </>;
8-
}
9-
6+
console.log('Typography:', Typography);
7+
console.log('Link:', Link);
8+
console.log('Box:', Box);
109
function Breadcrumbs({
1110
navigate,
1211
rootPathLength = 2,
@@ -57,11 +56,11 @@ function Breadcrumbs({
5756
>
5857
HOME
5958
</Link>
60-
<Slash />
59+
<> {' / '} </>
6160
{crumbs.map((crumb, index) => {
6261
if (index < crumbs.length - 1) {
6362
return (
64-
<Fragment key={index}>
63+
<Box key={index}>
6564
<Link
6665
key={crumb.href}
6766
href={crumb.href}
@@ -75,8 +74,8 @@ function Breadcrumbs({
7574
>
7675
{crumb.caption}
7776
</Link>
78-
<Slash />
79-
</Fragment>
77+
<> {' / '} </>
78+
</Box>
8079
);
8180
}
8281
return (

0 commit comments

Comments
 (0)