import React from 'react';
//import Side from './Side'
// import Cover from './Cover'
// import Simple from './Simple'
import View from '@/views';
import { useSelector } from 'react-redux';
import { LAYOUT_TYPE_BLANK } from '@/constants/theme.constant';

const AuthLayout = (props) => {
  const layoutType = useSelector((state) => state.theme.layout.type);
  return (
    <div className="app-layout-blank flex flex-auto flex-col h-[100vh]">
      {layoutType === LAYOUT_TYPE_BLANK ? <View {...props} /> : <View {...props} />}
    </div>
  );
};

export default AuthLayout;
