aboutsummaryrefslogtreecommitdiff
path: root/src/components/common/index.ts
diff options
context:
space:
mode:
authorJustin Shillingford <jgs272@cornell.edu>2020-08-17 11:17:31 -0400
committerGitHub <noreply@github.com>2020-08-17 11:17:31 -0400
commit2a300bd5e09e44832699a0bcd449de5a35368706 (patch)
treeb627bd55205b23e765c3646ac6cddb6fa8b6d1a1 /src/components/common/index.ts
parent59ea758ba64dd4e00f12b5ceb941d0ea5e273210 (diff)
[TMA-19*] Abstracted out Social Icon logic (#32)
* Basic mostly functional implementation Need to figure out why API is being called so much * Hey it works now! Without a million API calls! * Fixed bug where app would crash upon login Also updated property names to be more appropriate * Added post datetime and social icon * Updated error message * Fixed typecheck errors I don't know that these fixes are the best since I don't think they're generalizable * Formatted datetime in PostHeader * Abstracted out social icon switching logic * Basic mostly functional implementation Need to figure out why API is being called so much * Hey it works now! Without a million API calls! * Fixed bug where app would crash upon login Also updated property names to be more appropriate * Added post datetime and social icon * Updated error message * Fixed typecheck errors I don't know that these fixes are the best since I don't think they're generalizable * Abstracted out social icon switching logic
Diffstat (limited to 'src/components/common/index.ts')
-rw-r--r--src/components/common/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/common/index.ts b/src/components/common/index.ts
index cb8b9b6a..8d0ef778 100644
--- a/src/components/common/index.ts
+++ b/src/components/common/index.ts
@@ -4,3 +4,4 @@ export {default as RadioCheckbox} from './RadioCheckbox';
export {default as NavigationIcon} from './NavigationIcon';
export {default as GradientBackground} from './GradientBackground';
export {default as Post} from './post';
+export {default as SocialIcon} from './SocialIcon';