Skip to content

Commit c8a36de

Browse files
committed
Merge branch 'next' into topics-page
2 parents 0b69cbc + 71c6acb commit c8a36de

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

apps/webhook/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ COPY --chown=1000:1000 --from=assets /usr/src/app .
4747
# Install production dependencies
4848
RUN --mount=type=cache,id=pnpm-store-webhook,target=/root/.pnpm-store \
4949
pnpm install --reporter=silent --filter "{${PACKAGE_PATH}}..." \
50-
--frozen-lockfile --unsafe-perm --prod --reporter=silent
50+
--frozen-lockfile --unsafe-perm --reporter=silent
5151

5252
# Set the working directory to the webhook app and start the application using pm2-runtime
5353
WORKDIR /usr/src/app/apps/webhook

packages/js/src/ui/helpers/useStyle.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,10 @@ export const useStyle = () => {
4747
.join(' ');
4848

4949
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);
5354
}
5455
}
5556

0 commit comments

Comments
 (0)