diff --git a/src/common/components/Checkbox/index.tsx b/src/common/components/Checkbox/index.tsx
index 8c4aafbe..305f7677 100644
--- a/src/common/components/Checkbox/index.tsx
+++ b/src/common/components/Checkbox/index.tsx
@@ -33,7 +33,6 @@ const Checkbox =
({
})}
type="checkbox"
className={`amp-unmask ${hiddenCheckbox}`}
- disabled
{...checkboxElementProps}
/>
diff --git a/src/common/components/Dialog/index.tsx b/src/common/components/Dialog/index.tsx
index 492183a5..b4a23bdb 100644
--- a/src/common/components/Dialog/index.tsx
+++ b/src/common/components/Dialog/index.tsx
@@ -1,7 +1,7 @@
-import { forwardRef, type DialogHTMLAttributes, type ReactNode } from 'react';
+import { forwardRef, useContext, type DialogHTMLAttributes, type ReactNode } from 'react';
import { createPortal } from 'react-dom';
-import { useDevice } from '@hooks/useDevice';
+import { DeviceTypeContext } from '@store/deviceTypeContext';
import { containerVar } from './style.css';
@@ -10,7 +10,7 @@ interface DialogProps extends DialogHTMLAttributes {
}
const Dialog = forwardRef(({ children, ...dialogElementProps }: DialogProps, ref) => {
- const deviceType = useDevice();
+ const { deviceType } = useContext(DeviceTypeContext);
return createPortal(