Skip to content

Commit

Permalink
Small fixes on the website (#564)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspoignant authored Mar 17, 2023
1 parent c949c0d commit a99f512
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ const config = {
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/thomaspoignant/go-feature-flag/tree/main/packages/create-docusaurus/templates/shared/',
'https://github.com/thomaspoignant/go-feature-flag/tree/main/website/',
},
blog: {
showReadingTime: true,
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/thomaspoignant/go-feature-flag/tree/main/packages/create-docusaurus/templates/shared/',
'https://github.com/thomaspoignant/go-feature-flag/tree/main/website/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
Expand Down
6 changes: 2 additions & 4 deletions website/src/pages/editor/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';
import {useForm, FormProvider, useFieldArray} from 'react-hook-form';
import Layout from '@theme/Layout';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import {FlagForm} from '../../components/editor/FlagForm';
import {FlagDisplay} from '../../components/editor/FlagDisplay';
import styles from '../../components/editor/Targeting/styles.module.css';
Expand Down Expand Up @@ -77,11 +76,10 @@ function App() {
}

export default function Page() {
const {siteConfig} = useDocusaurusContext();
return (
<Layout
title={`${siteConfig.title}`}
description="Description will go into a meta tag in <head />">
title="Edit Your Flag"
description="GO Feature Flag editor is the simplest way to configure your feature flags.">
<App />
</Layout>
);
Expand Down

0 comments on commit a99f512

Please sign in to comment.