import { LockClosedIcon, LockOpenIcon } from '@heroicons/react/outline'
import { Transition } from '@headlessui/react'
import useMangoStore from '../stores/useMangoStore'
import ResetLayout from './ResetLayout'
import Tooltip from './Tooltip'
const UiLock = ({ className = '' }) => {
const set = useMangoStore((s) => s.set)
const uiLocked = useMangoStore((s) => s.settings.uiLocked)
const handleClick = () => {
set((state) => {
state.settings.uiLocked = !uiLocked
})
}
return (
<>
{!uiLocked ? (