aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-18 09:57:39 +0800
committerFabio Berger <me@fabioberger.com>2017-12-18 09:57:39 +0800
commit98c01c2f8097c849c53d87a4946edfd4fba94495 (patch)
tree7adc7b50a7958d355c91ff8996f77dfd0745d5d5 /packages/website/ts/components
parentf698dd40772eee0b3142028f62b6c56dcfcc5a1e (diff)
downloaddexon-sol-tools-98c01c2f8097c849c53d87a4946edfd4fba94495.tar
dexon-sol-tools-98c01c2f8097c849c53d87a4946edfd4fba94495.tar.gz
dexon-sol-tools-98c01c2f8097c849c53d87a4946edfd4fba94495.tar.bz2
dexon-sol-tools-98c01c2f8097c849c53d87a4946edfd4fba94495.tar.lz
dexon-sol-tools-98c01c2f8097c849c53d87a4946edfd4fba94495.tar.xz
dexon-sol-tools-98c01c2f8097c849c53d87a4946edfd4fba94495.tar.zst
dexon-sol-tools-98c01c2f8097c849c53d87a4946edfd4fba94495.zip
Remove unused `location` prop
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r--packages/website/ts/components/footer.tsx4
-rw-r--r--packages/website/ts/components/portal.tsx2
2 files changed, 2 insertions, 4 deletions
diff --git a/packages/website/ts/components/footer.tsx b/packages/website/ts/components/footer.tsx
index b26523094..7cd9128df 100644
--- a/packages/website/ts/components/footer.tsx
+++ b/packages/website/ts/components/footer.tsx
@@ -111,9 +111,7 @@ const titleToIcon: {[title: string]: string} = {
'Reddit': 'reddit.png',
};
-export interface FooterProps {
- location: Location;
-}
+export interface FooterProps {}
interface FooterState {}
diff --git a/packages/website/ts/components/portal.tsx b/packages/website/ts/components/portal.tsx
index 74b1bdec6..439772288 100644
--- a/packages/website/ts/components/portal.tsx
+++ b/packages/website/ts/components/portal.tsx
@@ -224,7 +224,7 @@ export class Portal extends React.Component<PortalAllProps, PortalAllState> {
flashMessage={this.props.flashMessage}
/>
</div>
- <Footer location={this.props.location} />
+ <Footer />
</div>
);
}