mirror of
https://github.com/maputnik/editor.git
synced 2026-01-04 04:20:01 +00:00
Rename primary branch to main (#837)
Co-authored-by: Harel M <harel.mazor@gmail.com>
This commit is contained in:
@@ -21,14 +21,14 @@ export default class Doc extends React.Component {
|
||||
|
||||
const renderValues = (
|
||||
!!values &&
|
||||
// HACK: Currently we merge additional values into the stylespec, so this is required
|
||||
// See <https://github.com/maputnik/editor/blob/master/src/components/fields/PropertyGroup.jsx#L16>
|
||||
// HACK: Currently we merge additional values into the style spec, so this is required
|
||||
// See <https://github.com/maputnik/editor/blob/main/src/components/PropertyGroup.jsx#L16>
|
||||
!Array.isArray(values)
|
||||
);
|
||||
|
||||
return (
|
||||
<>
|
||||
{doc &&
|
||||
{doc &&
|
||||
<div className="SpecDoc">
|
||||
<div className="SpecDoc__doc">{doc}</div>
|
||||
{renderValues &&
|
||||
|
||||
Reference in New Issue
Block a user