diff --git a/constants.js b/constants.js index ef679fb..12bc597 100644 --- a/constants.js +++ b/constants.js @@ -3,7 +3,7 @@ const folderMapping = { flutter: "Flutter", ios: "iOS", react: "React", - reactnative: "React Native", + reactnative: "React-Native", angular: "Angular", api: "API", javascript: "JavaScript", diff --git a/src/pages/index.js b/src/pages/index.js index c14891e..6e29f5d 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -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 (