Skip to content

Commit

Permalink
chore [PWA]: reactive service worker
Browse files Browse the repository at this point in the history
  • Loading branch information
Moamal-2000 committed Dec 2, 2024
1 parent 71c7c6b commit 0bcc7e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/Hooks/Helper/useGetResizeWindow.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ const useGetResizeWindow = () => {
});
const debounceId = useRef();

console.log(sizes);

useEffect(() => {
function handleResize() {
clearTimeout(debounceId.current);
Expand Down
2 changes: 1 addition & 1 deletion src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ ReactDOM.createRoot(document.getElementById("root")).render(
</StrictMode>
);

// servicerWorker.register();
servicerWorker.register();

0 comments on commit 0bcc7e9

Please sign in to comment.