Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
59714716
Commit
59714716
authored
Apr 13, 2021
by
tizah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding a condition to fix ci build
parent
fcbf5412
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
13 deletions
+15
-13
remix-ui-static-analyser.tsx
...x-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx
+15
-13
No files found.
libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx
View file @
59714716
...
...
@@ -356,20 +356,22 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
{
result
.
currentFile
&&
result
.
currentFile
}
</
span
>
</
div
>
<
div
className=
""
>
<
div
className=
"mb-4"
>
{
(
Object
.
entries
(
warningState
).
map
((
element
)
=>
(
<>
<
span
className=
"text-dark h6"
>
{
element
[
0
]
}
</
span
>
{
element
[
1
].
map
(
x
=>
(
x
.
hasWarning
?
(<
ErrorRenderer
message=
{
x
.
msg
}
opt=
{
x
.
options
}
warningErrors=
{
x
.
warningErrors
}
/>)
:
null
))
}
</>
)))
}
{
Object
.
entries
(
warningState
).
length
>
0
&&
<
div
id=
'staticanalysisresult'
>
<
div
className=
"mb-4 warning"
>
{
(
Object
.
entries
(
warningState
).
map
((
element
)
=>
(
<>
<
span
className=
"text-dark h6"
>
{
element
[
0
]
}
</
span
>
{
element
[
1
].
map
(
x
=>
(
x
.
hasWarning
?
(<
ErrorRenderer
message=
{
x
.
msg
}
opt=
{
x
.
options
}
warningErrors=
{
x
.
warningErrors
}
/>)
:
null
))
}
</>
)))
}
</
div
>
</
div
>
</
div
>
}
</
div
>
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment