import { PosterItem } from "../types";

let selectedBlockFromTutorialForLeft: PosterItem | undefined = undefined;
let selectedBlockFromTutorialForRight: PosterItem | undefined = undefined;

const setSelectedBlockFromTutorialForLeft = (block: PosterItem | null) => {
    if (!block) return;
    selectedBlockFromTutorialForLeft = block;
};

const setSelectedBlockFromTutorialForRight = (block: PosterItem | null) => {
    if (!block) return;
    selectedBlockFromTutorialForRight = block;
};

export {
    selectedBlockFromTutorialForLeft,
    selectedBlockFromTutorialForRight,
    setSelectedBlockFromTutorialForLeft,
    setSelectedBlockFromTutorialForRight,
};