Skip to content

Commit

Permalink
chore: refactor to arrow function
Browse files Browse the repository at this point in the history
  • Loading branch information
claustra01 committed Apr 13, 2024
1 parent 930d0fe commit e3e61c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/GoogleAuth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ type Props = {
displayName: string;
};

function GoogleLogin({ props }: { props: Props }) {
const GoogleLogin = ({ props }: { props: Props }) => {
const redirectToWeb = () => {
liff.openWindow({
url: `/oauth2?id=${props.userId}`,
Expand Down

0 comments on commit e3e61c9

Please sign in to comment.