Skip to content

Commit 988558e

Browse files
authored
Merge pull request #814 from SolidOS/ci
Auth context improvement + prerelease 3.1.3-5
2 parents 799c06d + eaf7905 commit 988558e

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "solid-ui",
3-
"version": "3.1.3-4",
3+
"version": "3.1.3-5",
44
"description": "UI library for Solid applications",
55
"main": "dist/index.cjs.js",
66
"types": "dist/index.d.ts",

src/lib/auth/NoopAuth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Account from './Account'
33

44
export default class NoopAuth implements AuthContext {
55
get account (): Account | null {
6-
throw new Error('Can\'t use auth, missing context provider')
6+
return null
77
}
88

99
async login () {

0 commit comments

Comments
 (0)