Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
React Redux Starter Code
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SOFT Core
SOFT 260
React Redux Starter Code
Commits
52f269dd
Commit
52f269dd
authored
1 year ago
by
Avery Jacobsen
Browse files
Options
Downloads
Patches
Plain Diff
added unstyled HTML to inventory.js
parent
bdd69934
No related branches found
No related tags found
1 merge request
!1
Correctly removed counter feature and changed minimal-app to inventory-app,...
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
inventory-app/src/__snapshots__/app.test.js.snap
+34
-1
34 additions, 1 deletion
inventory-app/src/__snapshots__/app.test.js.snap
inventory-app/src/features/inventory/inventory.js
+20
-1
20 additions, 1 deletion
inventory-app/src/features/inventory/inventory.js
with
54 additions
and
2 deletions
inventory-app/src/__snapshots__/app.test.js.snap
+
34
−
1
View file @
52f269dd
...
...
@@ -3,7 +3,40 @@
exports[`the app has one labeled button that displays the value from the store 1`] = `
<div>
<main>
[placeholder text]
<header>
<label>
App Title
</label>
</header>
<table>
<thead>
<tr>
<th
colspan="2"
>
Menu (Two items)
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
Item 1
<button>
Item 1 Button
</button>
</td>
<td>
Item 2
<button>
Item 2 Button
</button>
</td>
</tr>
</tbody>
</table>
<hr />
Inventory
</main>
</div>
`;
This diff is collapsed.
Click to expand it.
inventory-app/src/features/inventory/inventory.js
+
20
−
1
View file @
52f269dd
export
function
Inventory
()
{
return
(
<
main
>
[
placeholder
text
]
<
header
>
<
label
>
App
Title
<
/label
>
<
/header
>
<
table
>
<
thead
>
<
tr
>
<
th
colspan
=
"
2
"
>
Menu
(
Two
items
)
<
/th
>
<
/tr
>
<
/thead
>
<
tbody
>
<
tr
>
<
td
>
Item
1
<
button
>
Item
1
Button
<
/button></
td
>
<
td
>
Item
2
<
button
>
Item
2
Button
<
/button></
td
>
<
/tr
>
<
/tbody
>
<
/table
>
<
hr
><
/hr
>
Inventory
<
/main
>
);
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment