Commit 4003dd34 authored by Michael Iseard's avatar Michael Iseard
Browse files

Move common scripts to new folder

parent 85278790
import {Btn} from "./Btn"
import {KudosLogo} from "./KudosLogo"
import {KudosLogo} from "../../../common/components/KudosLogo"
import {__} from "@wordpress/i18n"
import {applyFilters} from "@wordpress/hooks"
......
import {NewCampaignPanel} from "../Panels/NewCampaignPanel"
import {CampaignPanel} from "../Panels/CampaignPanel"
import {getQueryVar} from "../../../../helpers/util"
import {getQueryVar} from "../../../../common/helpers/util"
import {__} from "@wordpress/i18n"
import {Card, CardHeader, CardDivider, SelectControl} from "@wordpress/components"
import {Fragment, useState} from "@wordpress/element"
......
......@@ -12,7 +12,7 @@ import api from '@wordpress/api'
import {Notice} from './Components/Notice'
import {Header} from './Components/Header'
import {IntroGuide} from "./Components/IntroGuide"
import {getQueryVar, updateQueryParameter} from "../../helpers/util"
import {getQueryVar, updateQueryParameter} from "../../common/helpers/util"
import {MollieTab} from "./Components/Tabs/MollieTab"
import {CampaignsTab} from "./Components/Tabs/CampaignsTab"
import {CustomizeTab} from "./Components/Tabs/CustomizeTab"
......
import {KudosLogo} from "../../admin/Settings/Components/KudosLogo"
import {KudosLogo} from "../../common/components/KudosLogo"
const KudosButton = ({children, className, color}) => {
......
......@@ -4,8 +4,8 @@ import MicroModal from 'micromodal'
import 'jquery-validation'
import '../images/logo-colour-40.png' // used as email attachment
import '../images/logo-colour.svg'
import {getStyle, isVisible} from "../helpers/util"
import {handleMessages} from "../helpers/modal"
import {getStyle, isVisible} from "../common/helpers/util"
import {handleMessages} from "../common/helpers/modal"
import {__} from "@wordpress/i18n"
import {
......@@ -16,7 +16,7 @@ import {
resetForm,
resetProgressBar,
valueChange
} from "../helpers/form"
} from "../common/helpers/form"
jQuery(document).ready(($) => {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment