From 2413436941bc27a6e5b374ec5497d24c5223ba28 Mon Sep 17 00:00:00 2001 From: David Hell Date: Wed, 28 Apr 2021 13:11:59 +0200 Subject: [PATCH] fix container classes (#371) --- src/utils/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 633cd6a8..ea27c24c 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -74,7 +74,7 @@ export const REASONS: { [key: string]: CloseReason } = { /** Tranforms classes name */ export const transformer = { - toContainerAnchorOrigin: (origin: string) => `anchorOrigin${origin}` as ContainerClassKey, + toContainerAnchorOrigin: (origin: string) => `containerAnchorOrigin${origin}` as ContainerClassKey, toAnchorOrigin: ({ vertical, horizontal }: SnackbarOrigin) => ( `anchorOrigin${capitalise(vertical)}${capitalise(horizontal)}` as SnackbarClassKey ),