Skip to content

Commit

Permalink
remove cn and use namespaced class on Window component
Browse files Browse the repository at this point in the history
  • Loading branch information
barmintor authored and cbeer committed Nov 21, 2023
1 parent aa828e5 commit 072702b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/Window.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Component } from 'react';
import PropTypes from 'prop-types';
import { styled } from '@mui/material/styles';
import cn from 'classnames';
import Paper from '@mui/material/Paper';
import { MosaicWindowContext } from 'react-mosaic-component/lib/contextTypes';
import ns from '../config/css-ns';
Expand Down Expand Up @@ -134,7 +133,7 @@ export class Window extends Component {
zIndex: theme.zIndex.modal - 1,
}),
})}
className={cn(ns('window'))}
className={ns('window')}
aria-label={t('window', { label })}
>
{this.wrappedTopBar()}
Expand Down

0 comments on commit 072702b

Please sign in to comment.