summaryrefslogtreecommitdiff
path: root/src/core/components
diff options
context:
space:
mode:
authortrisusilo48 <tri.susilo@altama.co.id>2024-08-08 15:12:01 +0700
committertrisusilo48 <tri.susilo@altama.co.id>2024-08-08 15:12:01 +0700
commit9ef91a70f40f2dfac3f39274cdb3409aa0d78ade (patch)
treec4636f7c7498e0b8d2505a867000f74a215c938f /src/core/components
parent99315622e96c7e4b58493ea6ce7998916ec27a6e (diff)
parent0b7db052b04ab983632463232fc8190a6f69143a (diff)
Merge branch 'CR/tunning_query_solr' into development
# Conflicts: # src/core/components/elements/Navbar/NavbarDesktop.jsx # src/core/components/elements/Navbar/TopBanner.jsx
Diffstat (limited to 'src/core/components')
-rw-r--r--src/core/components/elements/Navbar/TopBanner.jsx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/components/elements/Navbar/TopBanner.jsx b/src/core/components/elements/Navbar/TopBanner.jsx
index 265dfb5e..302db5c4 100644
--- a/src/core/components/elements/Navbar/TopBanner.jsx
+++ b/src/core/components/elements/Navbar/TopBanner.jsx
@@ -4,10 +4,8 @@ import odooApi from '@/core/api/odooApi';
import SmoothRender from '~/components/ui/smooth-render';
import Link from '../Link/Link';
import { useEffect } from 'react';
-import { background } from '@chakra-ui/react';
const TopBanner = ({ onLoad }) => {
- const { isDesktop, isMobile } = useDevice()
const topBanner = useQuery({
queryKey: 'topBanner',
queryFn: async () => await odooApi('GET', '/api/v1/banner?type=top-banner'),