sourcecred/src/app
William Chargin 48b68b221a
link: remove `styles` attribute from child (#911)
Summary:
By using `<a {...this.props}>{children}</a>`, we were forwarding the
Aphrodite selectors as `styles`. This caused the static HTML for the
page to include `<a styles="[object Object]">`, which is annoying.

Test Plan:
Unit tests extended: they fail before this change and pass after it.
Also clicked a router link and an external link in the application.

wchargin-branch: link-child-styles
2018-10-03 12:14:07 -07:00
..
adapters Hyperlink Git commits to GitHub (#887) 2018-09-27 20:32:43 -07:00
credExplorer app: add and use a shared Link component (#890) 2018-09-24 18:26:52 -07:00
App.js Use relative paths for router links (#672) 2018-08-15 15:35:12 -07:00
Colors.js ui: remove `:visited` color change for nav links (#892) 2018-09-25 16:38:46 -07:00
DiscordLogo.js Add Discord link and logo to navbar (#587) (#593) 2018-09-02 23:15:36 -07:00
ExternalRedirect.js app: add and use a shared Link component (#890) 2018-09-24 18:26:52 -07:00
GithubLogo.js Better navbar styling and external project links 2018-08-02 12:20:51 -07:00
HomePage.js app: add and use a shared Link component (#890) 2018-09-24 18:26:52 -07:00
Link.js link: remove `styles` attribute from child (#911) 2018-10-03 12:14:07 -07:00
Link.test.js link: remove `styles` attribute from child (#911) 2018-10-03 12:14:07 -07:00
Page.js ui: remove `:visited` color change for nav links (#892) 2018-09-25 16:38:46 -07:00
TwitterLogo.js Better navbar styling and external project links 2018-08-02 12:20:51 -07:00
assets.js Resolve a relative path to the application root (#665) 2018-08-15 13:03:19 -07:00
assets.test.js Resolve a relative path to the application root (#665) 2018-08-15 13:03:19 -07:00
browserLocalStore.js Extract a `LocalStore` interface (#521) 2018-07-24 18:53:40 -07:00
checkedLocalStore.js Add a `checkedLocalStore` implementation (#523) 2018-07-24 19:00:39 -07:00
checkedLocalStore.test.js Add a `checkedLocalStore` implementation (#523) 2018-07-24 19:00:39 -07:00
createRelativeHistory.js Add `createRelativeHistory` history implementation (#666) 2018-08-15 12:01:27 -07:00
createRelativeHistory.test.js Fail on console errors when testing enzyme (#769) 2018-09-05 11:12:38 -07:00
createRoutes.js Wire `Assets` into React components (#675) 2018-08-15 16:54:53 -07:00
index.css Better navbar styling and external project links 2018-08-02 12:20:51 -07:00
index.js Use relative paths for router links (#672) 2018-08-15 15:35:12 -07:00
localStore.js Extract a `LocalStore` interface (#521) 2018-07-24 18:53:40 -07:00
memoryLocalStore.js Add a `memoryLocalStore` implementation (#524) 2018-07-24 19:10:38 -07:00
memoryLocalStore.test.js Add a `memoryLocalStore` implementation (#524) 2018-07-24 19:10:38 -07:00
routeData.js Wire `Assets` into React components (#675) 2018-08-15 16:54:53 -07:00
routeData.test.js Use trailing slashes for all routes (#660) 2018-08-13 21:25:20 -07:00
server.js Wire `Assets` into React components (#675) 2018-08-15 16:54:53 -07:00
testLocalStore.js Fix a mistake in the implementation of #527 (#530) 2018-07-26 18:32:34 -07:00
testUtil.js Fail on console errors when testing enzyme (#769) 2018-09-05 11:12:38 -07:00
version.js Release 0.1.0 (#799) 2018-09-06 19:06:16 -07:00
version.test.js Add `GitState`, `Environment` to the `VersionInfo` (#692) 2018-08-16 13:38:13 -07:00
withAssets.js Extract `Assets` from router with `withAssets` (#674) 2018-08-15 16:44:28 -07:00
withAssets.test.js Extract `Assets` from router with `withAssets` (#674) 2018-08-15 16:44:28 -07:00