Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Commit

Permalink
Shared: Refactor sliderlabels
Browse files Browse the repository at this point in the history
It was currently running in an endless loop
instead of recalculation on some prop change.
This took up too many resources. I also suspect it to
have caused MOBILE-3932 in JIRA
  • Loading branch information
tbergquist-godaddy authored and RobinCsl committed Apr 26, 2019
1 parent d3eec39 commit 5e96b28
Show file tree
Hide file tree
Showing 7 changed files with 463 additions and 371 deletions.
2 changes: 1 addition & 1 deletion packages/shared/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export { default as Translation } from './src/Translation';
export { default as TranslationFragment } from './src/TranslationFragment';
export { default as Duration } from './src/Duration';

export { default as SliderLabels } from './src/SliderLabels';
export { default as SliderLabels } from './src/forms/SliderLabels';
export { default as OfflineScreen } from './src/offlineScreen/OfflineScreen';
export {
default as StatusbarBackground,
Expand Down
209 changes: 0 additions & 209 deletions packages/shared/src/SliderLabels.js

This file was deleted.

149 changes: 0 additions & 149 deletions packages/shared/src/__tests__/SliderLabels.test.js

This file was deleted.

Loading

0 comments on commit 5e96b28

Please sign in to comment.