Removed the app/javascript/src folder (#7888)
This commit is contained in:
parent
35e3733314
commit
ceb40d2c75
3 changed files with 0 additions and 29 deletions
|
|
@ -1,7 +0,0 @@
|
|||
import { h } from 'preact';
|
||||
|
||||
const UnopenedChannelNotice = () => {
|
||||
return <div style={{ position: 'absolute' }} />;
|
||||
};
|
||||
|
||||
export default UnopenedChannelNotice;
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
import { h } from 'preact';
|
||||
import { defaultChildrenPropTypes } from '../../../common-prop-types';
|
||||
|
||||
const GlobalModalWrapper = ({ children }) => (
|
||||
<div className="global-modal">
|
||||
<div className="modal-body">{children}</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
GlobalModalWrapper.propTypes = {
|
||||
// Diabling linting below because of https://github.com/yannickcr/eslint-plugin-react/issues/1389
|
||||
// eslint-disable-next-line react/no-typos
|
||||
children: defaultChildrenPropTypes.isRequired,
|
||||
};
|
||||
|
||||
export default GlobalModalWrapper;
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
import { h } from 'preact';
|
||||
import GlobalModalWrapper from './GlobalModalWrapper';
|
||||
|
||||
export const globalModalDecorator = story => (
|
||||
<GlobalModalWrapper>{story()}</GlobalModalWrapper>
|
||||
);
|
||||
Loading…
Add table
Reference in a new issue