Removed the app/javascript/src folder (#7888)

This commit is contained in:
Nick Taylor 2020-05-15 11:50:36 -04:00 committed by GitHub
parent 35e3733314
commit ceb40d2c75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 29 deletions

View file

@ -1,7 +0,0 @@
import { h } from 'preact';
const UnopenedChannelNotice = () => {
return <div style={{ position: 'absolute' }} />;
};
export default UnopenedChannelNotice;

View file

@ -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;

View file

@ -1,6 +0,0 @@
import { h } from 'preact';
import GlobalModalWrapper from './GlobalModalWrapper';
export const globalModalDecorator = story => (
<GlobalModalWrapper>{story()}</GlobalModalWrapper>
);