File tree 2 files changed +5
-4
lines changed
packages/js/src/ui/helpers
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ COPY --chown=1000:1000 --from=assets /usr/src/app .
47
47
# Install production dependencies
48
48
RUN --mount=type=cache,id=pnpm-store-webhook,target=/root/.pnpm-store \
49
49
pnpm install --reporter=silent --filter "{${PACKAGE_PATH}}..." \
50
- --frozen-lockfile --unsafe-perm --prod -- reporter=silent
50
+ --frozen-lockfile --unsafe-perm --reporter=silent
51
51
52
52
# Set the working directory to the webhook app and start the application using pm2-runtime
53
53
WORKDIR /usr/src/app/apps/webhook
Original file line number Diff line number Diff line change @@ -47,9 +47,10 @@ export const useStyle = () => {
47
47
. join ( ' ' ) ;
48
48
49
49
let appearanceClassnames : string [ ] = [ ] ;
50
- for ( let i = 0 ; i < finalAppearanceKeys . reverse ( ) . length ; i += 1 ) {
51
- if ( typeof appearance . elements ( ) ?. [ finalAppearanceKeys [ i ] ] === 'string' ) {
52
- appearanceClassnames . push ( appearance . elements ( ) ?. [ finalAppearanceKeys [ i ] ] as string ) ;
50
+ const reversedFinalAppearanceKeys = finalAppearanceKeys . reverse ( ) ;
51
+ for ( let i = 0 ; i < reversedFinalAppearanceKeys . length ; i += 1 ) {
52
+ if ( typeof appearance . elements ( ) [ reversedFinalAppearanceKeys [ i ] ] === 'string' ) {
53
+ appearanceClassnames . push ( appearance . elements ( ) [ reversedFinalAppearanceKeys [ i ] ] as string ) ;
53
54
}
54
55
}
55
56
You can’t perform that action at this time.
0 commit comments