Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import MdxLoader from 'containers/Service/Texts/MdxLoader';

# Псалмы и духовные песнопения

<If condition={props.isEasterOffsetRange(0, 39)}>

### Воскресная стихира, глас 6

<MdxLoader src="Shared/EasterStihira" />
Expand Down Expand Up @@ -30,6 +32,8 @@ import MdxLoader from 'containers/Service/Texts/MdxLoader';

<MdxLoader src="Shared/VoskresnayaPesn" />

</If>

### Псалом 8, глас 8, стихирный

<MdxLoader src="Shared/Psalm8" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import React from 'react';

import PsalmsSpiritualCantsMdx from './PsalmsSpiritualCants.mdx';
import { makeIsEasterOffsetRange } from 'domain/getDayInfo';

const PsalmsSpiritualCants = ({ date }): JSX.Element => {
const props = { date };
const isEasterOffsetRange = makeIsEasterOffsetRange(date);
const props = { date, isEasterOffsetRange };
return <PsalmsSpiritualCantsMdx {...props} />;
};
export default PsalmsSpiritualCants;