1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-10 01:06:37 +02:00

fix === equality for linter

This commit is contained in:
Ian Storm Taylor
2019-03-06 14:26:41 -08:00
parent bc256e027a
commit 4557c0fba7
3 changed files with 2 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ const fragment = (
<quote>
<paragraph>
This is editable <b>rich</b> text, <i>much</i> better than a textarea!
{i == 0 ? <cursor /> : ''}
{i === 0 ? <cursor /> : ''}
</paragraph>
</quote>
))}

View File

@@ -10,7 +10,7 @@ const fragment = (
<quote key={`a${i}`}>
<paragraph>
This is editable <b>rich</b> text, <i>much</i> better than a textarea!
{i == 0 ? <cursor /> : ''}
{i === 0 ? <cursor /> : ''}
</paragraph>
</quote>
))}

View File

@@ -7174,10 +7174,6 @@ slash@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55"
slate-simulator@^0.4.67:
version "0.4.67"
resolved "https://registry.yarnpkg.com/slate-simulator/-/slate-simulator-0.4.67.tgz#9313c84736db1e23d6aebacd536f582b6d54723c"
slice-ansi@1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-1.0.0.tgz#044f1a49d8842ff307aad6b505ed178bd950134d"