Skip to content

Commit

Permalink
display the version tag (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeddaqqa authored Jul 18, 2023
1 parent 63d7953 commit 76078ab
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions src/views/login/LoginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,32 @@ const StyledLink = styled(Link)(({ theme }) => ({
mx: '.5rem',
}))

const AccessActionButton = props => {
const navigate = useNavigate()
return (
<Button
variant="contained"
sx={{
p: '.75rem',
width: '100%',
bgcolor: 'button.secondary',
padding: '1.25rem',
justifyContent: 'space-between',
'&:hover': { bgcolor: 'button.secondary', opacity: '.8' },
'&:disabled': {
opacity: '.3',
bgcolor: 'button.secondary',
cursor: 'not-allowed',
},
}}
onClick={() => navigate(props.to)}
{...props}
>
{props.children}
</Button>
)
}

const LoadAccountMenu = () => {
const ref = useRef(null)
const navigate = useNavigate()
Expand Down Expand Up @@ -142,29 +168,3 @@ export default function LoginPage() {
</React.Suspense>
)
}

function AccessActionButton(props) {
const navigate = useNavigate()
return (
<Button
variant="contained"
sx={{
p: '.75rem',
width: '100%',
bgcolor: 'button.secondary',
padding: '1.25rem',
justifyContent: 'space-between',
'&:hover': { bgcolor: 'button.secondary', opacity: '.8' },
'&:disabled': {
opacity: '.3',
bgcolor: 'button.secondary',
cursor: 'not-allowed',
},
}}
onClick={() => navigate(props.to)}
{...props}
>
{props.children}
</Button>
)
}

0 comments on commit 76078ab

Please sign in to comment.