diff --git a/01-Login/public/js/ui.js b/01-Login/public/js/ui.js index 5f79e98..6e383b2 100644 --- a/01-Login/public/js/ui.js +++ b/01-Login/public/js/ui.js @@ -1,8 +1,7 @@ // URL mapping, from hash to a function that responds to that URL action const router = { "/": () => showContent("content-home"), - "/profile": () => - requireAuth(() => showContent("content-profile"), "/profile"), + "/profile": () => requireAuth(() => showContent("content-profile"), "/profile"), "/login": () => login() }; diff --git a/02-Calling-an-API/.prettierrc.yaml b/02-Calling-an-API/.prettierrc.yaml index 57c485f..ea61662 100644 --- a/02-Calling-an-API/.prettierrc.yaml +++ b/02-Calling-an-API/.prettierrc.yaml @@ -1,2 +1,4 @@ semi: true arrowParens: always +tabWidth: 2 + diff --git a/02-Calling-an-API/index.html b/02-Calling-an-API/index.html index c3ce340..917005e 100644 --- a/02-Calling-an-API/index.html +++ b/02-Calling-an-API/index.html @@ -29,6 +29,10 @@ rel="stylesheet" href="https://cdn.auth0.com/js/auth0-samples-theme/1.0/css/auth0-theme.min.css" /> + + + +
@@ -67,7 +71,6 @@