Skip to content

Commit

Permalink
[Refactor] Convert SignInModal.js to TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
fedirjh committed Feb 9, 2024
1 parent 20ba59f commit 7a5c68a
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,12 @@ import * as Session from '@userActions/Session';
import SCREENS from '@src/SCREENS';
import SignInPage from './SignInPage';

const propTypes = {};

const defaultProps = {};

function SignInModal() {
const theme = useTheme();
const StyleUtils = useStyleUtils();

if (!Session.isAnonymousUser()) {
// Sign in in RHP is only for anonymous users
// Signing in RHP is only for anonymous users
Navigation.isNavigationReady().then(() => {
Navigation.dismissModal();
});
Expand All @@ -35,8 +31,6 @@ function SignInModal() {
);
}

SignInModal.propTypes = propTypes;
SignInModal.defaultProps = defaultProps;
SignInModal.displayName = 'SignInModal';

export default SignInModal;

0 comments on commit 7a5c68a

Please sign in to comment.