Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { createLock } from '../app/auth';
import { defineMessages, F, useIntl } from 'react-intl-wrapper';
import React from 'react';
import useStyles from './errorStyles';
const messages = defineMessages({
personGesturingNo: { msg: 'person gesturing no' },
});
export default function Unauthorized() {
const intl = useIntl();
const emojiAriaLabel = intl.formatMessage(messages.personGesturingNo);
const styles = useStyles();
function handleLogin(evt) {
evt.preventDefault();
createLock().show();
}
return (
<div>
<span aria-label="{emojiAriaLabel}" role="img"></span></div>