diff --git a/packages/my-joy-instances/src/components/create-instance/__tests__/__snapshots__/affinity.spec.js.snap b/packages/my-joy-instances/src/components/create-instance/__tests__/__snapshots__/affinity.spec.js.snap
index 1e074eea..e456b9e8 100644
--- a/packages/my-joy-instances/src/components/create-instance/__tests__/__snapshots__/affinity.spec.js.snap
+++ b/packages/my-joy-instances/src/components/create-instance/__tests__/__snapshots__/affinity.spec.js.snap
@@ -864,26 +864,11 @@ exports[`renders without throwing 1`] = `
>
equalling
-
-
-
@@ -1726,26 +1711,11 @@ exports[`renders without throwing 2`] = `
>
equalling
-
-
-
diff --git a/packages/my-joy-instances/src/components/create-instance/affinity.js b/packages/my-joy-instances/src/components/create-instance/affinity.js
index 100e1ab8..1a8173df 100644
--- a/packages/my-joy-instances/src/components/create-instance/affinity.js
+++ b/packages/my-joy-instances/src/components/create-instance/affinity.js
@@ -21,14 +21,45 @@ const Values = touched => (
);
+ // {rule.type === 'tag' ? (
+ //
+ //
+ //
+ //
+ //
+ //
+ // and value{' '}
+ //
+ //
+ // {Values(rule.pattern)}
+ //
+ //
+ //
+ //
+ //
+ //
+ // ) : (
+
export const Rule = ({ valid, ...rule }) => (
@@ -75,56 +106,20 @@ export const Rule = ({ valid, ...rule }) => (
- {rule.type === 'tag' ? (
-
-
-
-
-
-
- and value{' '}
-
-
- {Values(rule.pattern)}
-
-
-
-
-
-
- ) : (
-
-
- {Values(rule.pattern)}
-
-
-
-
-
-
- )}
+
+ {Values(rule.pattern)}
+
+
+
+
+
);
diff --git a/packages/my-joy-instances/src/containers/create-instance/index.js b/packages/my-joy-instances/src/containers/create-instance/index.js
index ca94405a..212c5fd3 100644
--- a/packages/my-joy-instances/src/containers/create-instance/index.js
+++ b/packages/my-joy-instances/src/containers/create-instance/index.js
@@ -281,10 +281,7 @@ export default compose(
const patterns = {
equalling: value => value,
- 'not-equalling': value => `/^!${value}$/`,
- containing: value => `/${value}/`,
starting: value => `/^${value}/`,
- ending: value => `/${value}$/`
};
const _name = identity === 'name' ? 'instance' : name;