Skip to content

Commit

Permalink
Fixed react errors. Bumped packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
fastlinemedia committed Sep 15, 2021
1 parent badd2bc commit 1dca75d
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 38 deletions.
64 changes: 32 additions & 32 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"@beaverbuilder/box": "0.0.3",
"@beaverbuilder/cloud": "^0.5.5",
"@beaverbuilder/cloud-ui": "^0.8.4",
"@beaverbuilder/fluid": "^0.7.8",
"@beaverbuilder/fluid-docs": "0.0.6",
"@beaverbuilder/forms": "^0.3.8",
"@beaverbuilder/icons": "0.0.5",
"@beaverbuilder/fluid": "^0.7.9",
"@beaverbuilder/fluid-docs": "0.0.7",
"@beaverbuilder/forms": "^0.3.11",
"@beaverbuilder/icons": "^0.0.6",
"@popmotion/popcorn": "^0.4.4",
"array-move": "^3.0.1",
"axios": "0.21.1",
Expand Down
4 changes: 2 additions & 2 deletions src/apps/fl-updates/icon.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from 'react'
import { useSystemState } from 'assistant/data'
import { getSystemState } from 'assistant/data'

const AppIcon = ( { context, isSelected = false } ) => {
const { counts } = useSystemState()
const { counts } = getSystemState()
const total = counts['update/total'] ? counts['update/total'] : 0
const shouldHighlight = 'sidebar' === context && 0 < total
const color = ( shouldHighlight && ! isSelected ) ? 'var(--fluid-blue)' : 'currentColor'
Expand Down

0 comments on commit 1dca75d

Please sign in to comment.