Skip to content

Commit c92b0eb

Browse files
committed
Hotfix: contacts page undefined
1 parent e98bcef commit c92b0eb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

env.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
VITE_SOLID_IDENTITY_PROVIDER="http://localhost:3000/"
22
VITE_SOLID_POD_SERVER="http://localhost:3000/"
33
VITE_SUGGESTED_OIDC_OPTIONS="http://localhost:3000/, https://opencommons.net/, https://solidcommunity.net/, https://login.inrupt.com/, https://inrupt.net/"
4-
VITE_OIDC_WEBIDS = '{"http://localhost:3000/": "http://localhost:3000/user/profile/card#me", "https://opencommons.net/": "https://opencommons.net/user/profile/card#me", "https://solidcommunity.net/": "https://user.solidcommunity.net/profile/card#me", "https://login.inrupt.com/": "https://id.inrupt.com/user", "https://inrupt.net/": "https://id.inrupt.com/user"}'
4+
VITE_OIDC_WEBIDS = '{"http://localhost:3000/", "http://localhost:3000/user/profile/card#me", "https://opencommons.net/", "https://opencommons.net/user/profile/card#me", "https://solidcommunity.net/", "https://user.solidcommunity.net/profile/card#me", "https://login.inrupt.com/", "https://id.inrupt.com/user", "https://inrupt.net/", "https://id.inrupt.com/user"}'
55
VITE_CLIENT_ID_DOC="http://localhost:3000/clientAppId.json"

src/components/Modals/AddContactModal.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const AddContactModal = ({
8080
const theme = useTheme();
8181
const isSmallScreen = useMediaQuery(theme.breakpoints.down('sm'));
8282
const [oidcProviders] = useState(() =>
83-
ENV.VITE_SUGGESTED_OIDC_OPTIONS.split(', ') !== undefined
83+
ENV.VITE_SUGGESTED_OIDC_OPTIONS !== undefined
8484
? [...ENV.VITE_SUGGESTED_OIDC_OPTIONS.split(', '), 'Other']
8585
: ['Other']
8686
);

0 commit comments

Comments
 (0)