Skip to content

Commit

Permalink
removed extract command
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Alzueta committed Jul 8, 2024
1 parent af747c5 commit 3206c4b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:
yarn
yarn build-catalogue-meta
yarn build-catalogue-markdown-docs
yarn build-storybook
npx sb extract ./docs-build ./docs-build/stories.json
yarn build-storybook
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
Expand Down
3 changes: 3 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,7 @@ module.exports = {
},
});
},
features: {
buildStoriesJson: true,
}
};
6 changes: 1 addition & 5 deletions src/components/MlIconLayer/MlIconLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ import DeckGlContext from "../../deckgl_components/DeckGlContext";
import { MapboxLayer } from "@deck.gl/mapbox";
import { IconLayer } from "@deck.gl/layers";

import Airplane from "./assets/airplane-icon.png";
import Ships from "./assets/Ships_v2.png";
import { Divider } from "@mui/material";


const navStats = {
0: "under way using engine",
Expand Down Expand Up @@ -135,9 +134,6 @@ const MlIconLayer = (props) => {
airplanes_tmp = airplanes_tmp.map((d) => {
let trackPorcentage =
(_timeNow - d.time_contact) / 1000 / fetchEverySeconds;
if (trackPorcentage > 1) {
trackPorcentage = 1;
}

const [longitude, latitude] = d.interpolatePos(trackPorcentage);
return {
Expand Down

0 comments on commit 3206c4b

Please sign in to comment.