mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
fix const
This commit is contained in:
parent
a1d251790c
commit
92afab4019
@ -87,7 +87,7 @@ export default class Layout extends React.Component {
|
||||
}
|
||||
|
||||
setLayout = (layout) => {
|
||||
if (typeof LayoutRenders[layout] === "function") {
|
||||
if (typeof Layouts[layout] === "function") {
|
||||
return this.setState({
|
||||
layoutType: layout,
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user