Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
internetti committed Mar 11, 2022
1 parent 044f49d commit b0e9160
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 7 deletions.
1 change: 1 addition & 0 deletions frontend/apps/core-authnz-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"test": "echo \"Error: no test specified\" && exit 0",
"eject": "react-scripts eject"
},
"homepage": "/app/",
"dependencies": {
"axios": "^0.24.0",
"bootstrap": "^5.1.3",
Expand Down
3 changes: 0 additions & 3 deletions frontend/apps/core-authnz-frontend/src/components/Router.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import React from 'react';
import 'bootstrap/dist/css/bootstrap.css';
import 'bootstrap-icons/font/bootstrap-icons.css';
import 'bootstrap/dist/js/bootstrap.bundle.min';
import { BrowserRouter, Route, Routes } from 'react-router-dom';

import AuthenticatedApp from './AuthenticatedApp';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const Clients: FC = () => {
<div className="card card-darkula">
<div className="card-body">
<SectionTitle title="OAuth2 Clients">
<Link to="add" className="btn btn-sm btn-success">
<Link to="/clients/add" className="btn btn-sm btn-success">
Add OAuth2 Client
</Link>
</SectionTitle>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const Organizations: FC = () => {
<div className="card card-darkula ">
<div className="card-body">
<SectionTitle title="Organizations">
<Link className="btn btn-darkula btn-sm" to="add">
<Link className="btn btn-darkula btn-sm" to="/organizations/add">
Add Organization
</Link>
</SectionTitle>
Expand Down
1 change: 0 additions & 1 deletion frontend/packages/core-auth/src/components/AuthWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ const AuthWrapper: React.FC<AuthWrapperProps> = ({
onTokenChange,
injectToken = 'access_token',
}) => {
console.log('ATUH WRAPPER', scopes, clientId);
const browser = useMemo(() => new Browser(), []);

browser.maybeCompleteAuthSession();
Expand Down
1 change: 1 addition & 0 deletions frontend/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@react-native-async-storage/async-storage": "^1.16.1",
"@storybook/addon-actions": "~6.4.19",
"@storybook/addon-knobs": "~6.4.0",
"@storybook/addon-links": "~6.4.19",
Expand Down
16 changes: 15 additions & 1 deletion frontend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3239,6 +3239,13 @@
"@react-aria/ssr" "^3.0.1"
"@react-aria/utils" "^3.3.0"

"@react-native-async-storage/async-storage@^1.16.1":
version "1.16.1"
resolved "https://registry.yarnpkg.com/@react-native-async-storage/async-storage/-/async-storage-1.16.1.tgz#1dbaa9e0f9736e4ab8fc04c628bbb608fd80b068"
integrity sha512-aQ7ka+Ii1e/q+7AVFIZPt4kDeSH8b784wMDtz19Kf4A7hf+OgCHBlUQpOXsrv8XxhlBxu0hv4tfrDO15ChnV0Q==
dependencies:
merge-options "^3.0.4"

"@react-native-community/cli-debugger-ui@^5.0.1":
version "5.0.1"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-debugger-ui/-/cli-debugger-ui-5.0.1.tgz#6b1f3367b8e5211e899983065ea2e72c1901d75f"
Expand Down Expand Up @@ -12444,7 +12451,7 @@ is-plain-obj@^1.0.0, is-plain-obj@^1.1.0:
resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e"
integrity sha1-caUMhCnfync8kqOQpKA7OfzVHT4=

is-plain-obj@^2.0.0:
is-plain-obj@^2.0.0, is-plain-obj@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287"
integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==
Expand Down Expand Up @@ -14214,6 +14221,13 @@ merge-descriptors@1.0.1:
resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61"
integrity sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=

merge-options@^3.0.4:
version "3.0.4"
resolved "https://registry.yarnpkg.com/merge-options/-/merge-options-3.0.4.tgz#84709c2aa2a4b24c1981f66c179fe5565cc6dbb7"
integrity sha512-2Sug1+knBjkaMsMgf1ctR1Ujx+Ayku4EdJN4Z+C2+JzoeF7A3OZ9KM2GY0CpQS51NR61LTurMJrRKPhSs3ZRTQ==
dependencies:
is-plain-obj "^2.1.0"

merge-stream@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60"
Expand Down

0 comments on commit b0e9160

Please sign in to comment.