@@ -24,10 +24,7 @@ import { Switch } from '../../../components/ui/switch'
2424
2525import { Route as RootRoute } from '../../__root'
2626
27- import {
28- useCustomizableMenuSettingsVisibility ,
29- useDevSettingsData ,
30- } from '../../../hooks/settings'
27+ import { useCustomizableMenuSettingsVisibility } from '../../../hooks/settings'
3128import { useAutomationData } from './-hooks'
3229
3330import { cn , parseCustomDisplayName } from '../../../lib/utils'
@@ -95,7 +92,6 @@ export function Content() {
9592 handleUpdateClaimAction,
9693 onSelectItem,
9794 } = useAutomationData ( )
98- const devSettings = useDevSettingsData ( )
9995 const { getMenuOptionVisibility } =
10096 useCustomizableMenuSettingsVisibility ( )
10197
@@ -262,23 +258,21 @@ export function Content() {
262258 disabled = { disabledActions }
263259 />
264260 </ div >
265- { devSettings . transfer === true && (
266- < div className = "flex flex-grow items-center justify-between" >
267- < span > Auto-transfer mats</ span >
268- < Switch
269- checked = { current . actions . transferMats }
270- onCheckedChange = {
271- ! isLoading
272- ? handleUpdateClaimAction (
273- 'transferMats' ,
274- account . accountId
275- )
276- : undefined
277- }
278- disabled = { disabledActions }
279- />
280- </ div >
281- ) }
261+ < div className = "flex flex-grow items-center justify-between" >
262+ < span > Auto-transfer mats</ span >
263+ < Switch
264+ checked = { current . actions . transferMats }
265+ onCheckedChange = {
266+ ! isLoading
267+ ? handleUpdateClaimAction (
268+ 'transferMats' ,
269+ account . accountId
270+ )
271+ : undefined
272+ }
273+ disabled = { disabledActions }
274+ />
275+ </ div >
282276 </ div >
283277 </ article >
284278 )
0 commit comments