@applica-software-guru/react-admin 1.5.232 → 1.5.234

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -115,5 +115,5 @@
115
115
  "type": "module",
116
116
  "types": "dist/index.d.ts",
117
117
  "typings": "dist/index.d.ts",
118
- "version": "1.5.232"
118
+ "version": "1.5.234"
119
119
  }
@@ -9,7 +9,6 @@ import { Link, useLocation } from 'react-router-dom';
9
9
 
10
10
  function renderBreadcrumb({ id, title, icon, url, last }: MenuBreadcrumb) {
11
11
  const Icon = icon ? icon : ApartmentOutlined;
12
- return null;
13
12
  return (
14
13
  <Typography
15
14
  key={id}
@@ -66,12 +66,12 @@ function CreateInDialogButton({
66
66
  const handleOpen = useCallback(() => openDialog(resource, () => setOpen(true)), [openDialog, resource]);
67
67
  const handleClose = useCallback(() => closeDialog(resource, () => setOpen(false)), [closeDialog, resource]);
68
68
  const isMobile = useMediaQuery((theme: Theme) => theme.breakpoints.down('md'));
69
- const isSmall = fab || isMobile;
69
+ const isSmall = fab && isMobile;
70
70
  return (
71
71
  <>
72
72
  {isSmall ? (
73
73
  <StyledFab
74
- // @ts-ignore
74
+ // @ts-expect-error WARN: Why state prop not exists on styled fab?
75
75
  state={scrollStates[String(scrollToTop)]}
76
76
  color="primary"
77
77
  className={clsx(CreateButtonClasses.floating, className)}
package/vite.config.js CHANGED
@@ -1,3 +1,4 @@
1
+ /*global __dirname */
1
2
  import * as packageJson from './package.json';
2
3
  import react from '@vitejs/plugin-react';
3
4
  import { resolve } from 'node:path';