Skip to content

Commit

Permalink
Removed unnecessary imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurczewski committed Oct 3, 2024
1 parent e62a181 commit bb05271
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions libs/generic-view/ui/src/lib/interactive/format-message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,13 @@
import React, { useId } from "react"
import { APIFC } from "generic-view/utils"
import { FormatMessageConfig, FormatMessageData } from "generic-view/models"
import {
createIntl,
createIntlCache,
FormattedMessage,
RawIntlProvider,
} from "react-intl"
import { createIntl, createIntlCache, RawIntlProvider } from "react-intl"
import { useSelector } from "react-redux"
import { selectActiveDeviceConfiguration } from "generic-view/store"

export const FormatMessage: APIFC<FormatMessageData, FormatMessageConfig> = ({
data,
config,
children,
...props
}) => {
const id = useId()
const deviceConfig = useSelector(selectActiveDeviceConfiguration)
Expand Down

0 comments on commit bb05271

Please sign in to comment.