Skip to content

Commit

Permalink
Merge pull request #45 from nextstrain/victorlin/use-default-export
Browse files Browse the repository at this point in the history
Use default export to avoid Webpack 5 warning
  • Loading branch information
jameshadfield authored Dec 6, 2022
2 parents de6baf4 + 78d0897 commit 4fbf76c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auspice_client_customisation/splash.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react"; // eslint-disable-line
import { handleDroppedFiles } from "./handleDroppedFiles";
import { P, Bold, Title, NextstrainTitle, CenterContent, Line, GitHub } from './styles';
import { version, dependencies } from "../package.json";
import pkg from "../package.json";


class SplashContent extends React.Component {
Expand Down Expand Up @@ -108,7 +108,7 @@ class SplashContent extends React.Component {
<Line/>

<P>
{`auspice.us ${version} (Auspice ${dependencies.auspice})`}
{`auspice.us ${pkg.version} (Auspice ${pkg.dependencies.auspice})`}
</P>
<NextstrainTitle/>
<GitHub/>
Expand Down

0 comments on commit 4fbf76c

Please sign in to comment.