Skip to content

Commit

Permalink
fix: rename "Modules" component to "Addons" (#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j authored Dec 17, 2018
1 parent c48ce71 commit ee9fc40
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/demo-theme/src/layouts/static.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import * as React from "react";
import styled from "react-emotion";
import { Menu } from "webiny-app-cms/render/components";
import { Modules } from "webiny-app/components";
import { Addons } from "webiny-app/components";

const Banner = styled("div")({
backgroundColor: "#666",
Expand All @@ -17,7 +17,7 @@ type Props = {
const Static = ({ children }: Props) => {
return (
<div className={"static-page-container"}>
<Modules />
<Addons />
<Menu slug={"demo-menu"}>
{({ data }) => (
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type State = {
ready: boolean
};

export default class Modules extends React.Component<Props, State> {
export default class Addons extends React.Component<Props, State> {
settings = {};
state = {
ready: false
Expand Down
2 changes: 1 addition & 1 deletion packages/webiny-app/src/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ export { withKeyHandler } from "./withKeyHandler";
export { withUi } from "./withUi";
export type { WithDataListProps, SearchParams, WithDataListParams } from "./withDataList";
export { Image } from "./Image";
export { default as Modules } from "./Modules";
export { default as Addons } from "./Addons";

0 comments on commit ee9fc40

Please sign in to comment.