mirror of https://github.com/jetkvm/kvm.git
This commit introduces a new custom navigation hook `useDeviceUiNavigation` to replace direct usage of `useNavigate` across multiple components: - Removed direct `useNavigate` imports in various components - Added `navigateTo` method from new navigation hook - Updated navigation calls in ActionBar, MountPopover, UpdateInProgressStatusCard, and other routes - Simplified navigation logic and prepared for potential future navigation enhancements - Removed console logs and unnecessary comments |
||
---|---|---|
.. | ||
public | ||
src | ||
.env.cloud-development | ||
.env.cloud-production | ||
.env.cloud-staging | ||
.env.device | ||
.eslintrc.cjs | ||
.gitignore | ||
.prettierrc | ||
dev_device.sh | ||
index.html | ||
package-lock.json | ||
package.json | ||
postcss.config.js | ||
tailwind.config.js | ||
tsconfig.json | ||
tsconfig.node.json | ||
vite-env.d.ts | ||
vite.config.ts |