Skip to content

Commit

Permalink
[CP-2995] Contacts list (#2079)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Karski <[email protected]>
  • Loading branch information
mkurczewski and dkarski authored Oct 8, 2024
1 parent 60b8d20 commit 8f4fcb5
Show file tree
Hide file tree
Showing 146 changed files with 3,740 additions and 1,354 deletions.
346 changes: 0 additions & 346 deletions apps/mudita-center-e2e/wdio.conf.js

This file was deleted.

1 change: 1 addition & 0 deletions apps/mudita-center/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* For licensing, see https://github.com/mudita/mudita-center/blob/master/LICENSE.md
*/

import "./wdyr"
import "reflect-metadata"
import translationConfig from "App/translations.config.json"
import App from "App/app.component"
Expand Down
13 changes: 13 additions & 0 deletions apps/mudita-center/src/wdyr.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/**
* Copyright (c) Mudita sp. z o.o. All rights reserved.
* For licensing, see https://github.com/mudita/mudita-center/blob/master/LICENSE.md
*/

import React from "react"

if (process.env.NODE_ENV === "development") {
const whyDidYouRender = require("@welldone-software/why-did-you-render")
whyDidYouRender(React, {
trackAllPureComponents: false,
})
}
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ export interface TextProps {
readonly onClick?: () => void
readonly testId?: string
readonly textRef?: React.Ref<HTMLElement>
readonly id?: string
}

export enum TextDisplayStyle {
Expand Down Expand Up @@ -185,7 +186,6 @@ const Text: FunctionComponent<TextProps> = ({
{message && typeof message !== "string" && (
<FormattedMessage {...message} />
)}

{!message && children}
</TextWrapper>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ exports[`matches snapshot without tabs 1`] = `
class="c1 c2"
color="primary"
data-testid="location"
id="app-header"
>
[value] module.overview
</h4>
Expand Down
Loading

0 comments on commit 8f4fcb5

Please sign in to comment.