File tree 3 files changed +3
-2
lines changed 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 28
28
node-version : 20
29
29
registry-url : https://registry.npmjs.org/
30
30
- run : npm ci
31
- - run : npm publish
31
+ - run : npm publish --access=public
32
32
env :
33
33
NODE_AUTH_TOKEN : ${{ secrets.npm_token }}
34
34
Original file line number Diff line number Diff line change 9
9
},
10
10
"license" : " MIT" ,
11
11
"module" : " ./dist/index.mjs" ,
12
+ "main" : " ./dist/index.js" ,
12
13
"types" : " ./dist/index.d.ts" ,
13
14
"exports" : {
14
15
"." : {
Original file line number Diff line number Diff line change @@ -397,7 +397,7 @@ export const LoadingBarContainer = ({
397
397
) ;
398
398
} ;
399
399
400
- export const useLoadingBar = ( props : IProps ) : Omit < IContext , "setProps" > => {
400
+ export const useLoadingBar = ( props ? : IProps ) : Omit < IContext , "setProps" > => {
401
401
const context = React . useContext ( LoaderContext ) ;
402
402
403
403
if ( ! context ) {
You can’t perform that action at this time.
0 commit comments