Skip to content

Commit

Permalink
fix: update glossary component name (carbon-design-system#2)
Browse files Browse the repository at this point in the history
fix: update glossary component name
  • Loading branch information
vpicone authored Jul 29, 2019
2 parents e2b9cad + bdc84d7 commit 8a0232e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
3 changes: 0 additions & 3 deletions src/pages/guidelines/content/Glossary/index.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { Component } from 'react';
import GlossaryList from '../GlossaryList/GlossaryList';
import GlossaryNav from '../GlossaryNav/GlossaryNav';

class Glossary extends Component {
class GlossaryComponent extends Component {
render() {
const glossary = require('../../../../data/guidelines/glossary'); // eslint-disable-line
return (
Expand All @@ -19,4 +19,4 @@ class Glossary extends Component {
}
}

export default Glossary;
export default GlossaryComponent;
3 changes: 3 additions & 0 deletions src/pages/guidelines/content/GlossaryComponent/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import GlossaryComponent from './GlossaryComponent';

export default GlossaryComponent;
6 changes: 3 additions & 3 deletions src/pages/guidelines/content/glossary.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
label: Content design can make or break an online experience. Always strive for
writing that is clear, concise, and on-brand.
title: Content
tabs: ['General', 'Guidance', 'Glossary']
tabs: ["General", "Guidance", "Glossary"]
---

import Glossary from './Glossary';
import GlossaryComponent from "./GlossaryComponent";

<Glossary />
<GlossaryComponent />
2 changes: 1 addition & 1 deletion src/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default HomepageTemplate;

</FeatureCard>
<FeatureCard
href="/getting-started/developers"
href="/getting-started/developers/vanilla"
label="Start"
title="Developing"
className="feature-tile--developers">
Expand Down

0 comments on commit 8a0232e

Please sign in to comment.