Skip to content

Commit

Permalink
Merge branch 'consolidate-share-scripts' into linux-downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
qrkourier committed Nov 28, 2023
2 parents 18bac01 + 50a72d1 commit 239f2f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nfpm/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

# nfpm supporting files

These files are sourced by nfpm when invoked by goreleaser to build Linux packages, and by the Docker BuildKit build to build Docker release images.
These files are sourced by nfpm when invoked by goreleaser to build Linux packages, and by BuildKit when building the Docker images.
4 changes: 2 additions & 2 deletions website/src/theme/OsTabs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ function OsTabs(props) {

useEffect(() => {
// Based on the OS or any other client-side condition, set the default value
const tabs = ['iOS', 'Android', 'Mac OS', 'Windows', 'Linux']
const tabs = ['Mac OS', 'Windows', 'Linux']
if (tabs.includes(osName)) {
setDefaultValue(osName);
} else {
setDefaultValue('Windows');
setDefaultValue('Linux');
}
}, []); // The empty dependency array ensures this runs once after component mount

Expand Down

0 comments on commit 239f2f2

Please sign in to comment.