Skip to content

Commit

Permalink
Merge pull request #135 from GetStream/react-native-sidebar-changes
Browse files Browse the repository at this point in the history
fix: folder mapping for react native sdk
  • Loading branch information
szuperaz committed Feb 20, 2024
2 parents a92ccba + 1284e9d commit 7cecd9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion constants.js
Expand Up @@ -3,7 +3,7 @@ const folderMapping = {
flutter: "Flutter",
ios: "iOS",
react: "React",
reactnative: "React Native",
reactnative: "React-Native",
angular: "Angular",
api: "API",
javascript: "JavaScript",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.js
Expand Up @@ -12,7 +12,7 @@ import { folderMapping } from "../../constants"
import styles from "./styles.module.css"

const Feature = ({ title }) => {
const platform = `${title.toLowerCase().replace(" ", "")}`
const platform = `${title.toLowerCase().replace("-", "")}`
return (
<div className={clsx("col col--2", styles.feature)}>
<div className={styles.buttons}>
Expand Down

0 comments on commit 7cecd9d

Please sign in to comment.