Skip to content

Commit ce087eb

Browse files
committed
Move suggested IDPs to file.
1 parent 4e484c9 commit ce087eb

2 files changed

Lines changed: 16 additions & 11 deletions

File tree

popup-app/idps.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[
2+
{
3+
"displayName": "Solid Community",
4+
"url": "https://solid.community/"
5+
},
6+
{
7+
"displayName": "Solid Test Space",
8+
"url": "https://solidtest.space/"
9+
},
10+
{
11+
"displayName": "Inrupt",
12+
"url": "https://inrupt.net/"
13+
}
14+
]

popup-app/index.js

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,9 @@ import IdpCallback from './components/IdpCallback'
99
import IdpSelect from './components/IdpSelect'
1010
import NoParent from './components/NoParent'
1111

12-
import './index.css'
12+
import defaultIdps from './idps.json'
1313

14-
const defaultIdps = [
15-
{
16-
displayName: 'Solid Community',
17-
url: 'https://solid.community/'
18-
},
19-
{
20-
displayName: 'Solid Test Space',
21-
url: 'https://solidtest.space/'
22-
}
23-
]
14+
import './index.css'
2415

2516
findAppOrigin()
2617
.then(appOrigin => {

0 commit comments

Comments
 (0)