about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/containers/card_container.js
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-05-17 16:45:19 +0200
committerThibaut Girka <thib@sitedethib.com>2018-05-17 18:37:00 +0200
commitdd1d98f9cf405104ef106ee5f376bd09815dac42 (patch)
tree6d8a797aad14e7640ca2ffaa6395aa8f322895e8 /app/javascript/flavours/glitch/containers/card_container.js
parent4bf43e6f3e93643d989a2872763b41505fab2206 (diff)
[Glitch] Show card modal on public pages
Port 16fee0335f2b10b0ce54f71965d2f2acc0e24942 to glitch-soc
Diffstat (limited to 'app/javascript/flavours/glitch/containers/card_container.js')
-rw-r--r--app/javascript/flavours/glitch/containers/card_container.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/app/javascript/flavours/glitch/containers/card_container.js b/app/javascript/flavours/glitch/containers/card_container.js
deleted file mode 100644
index dec7df522..000000000
--- a/app/javascript/flavours/glitch/containers/card_container.js
+++ /dev/null
@@ -1,18 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import Card from 'flavours/glitch/features/status/components/card';
-import { fromJS } from 'immutable';
-
-export default class CardContainer extends React.PureComponent {
-
-  static propTypes = {
-    locale: PropTypes.string,
-    card: PropTypes.array.isRequired,
-  };
-
-  render () {
-    const { card, ...props } = this.props;
-    return <Card card={fromJS(card)} {...props} />;
-  }
-
-}