Skip to content

Commit

Permalink
chore: switch readme back and add exclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
sekwah41 committed Nov 12, 2023
1 parent 1174f82 commit ba4eab2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ repos:
rev: "" # Use the sha or tag you want to point at
hooks:
- id: prettier
exclude: ^CHANGELOG\.md$
7 changes: 3 additions & 4 deletions app/renderer/src/contexts/connectors/TauriConnector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,8 @@ export const TauriConnectorProvider: React.FC = ({ children }) => {

const timer = useSelector((state: AppStateTypes) => state.timer);

const { count, duration, timerType, shouldFullscreen } = useContext(
CounterContext
);
const { count, duration, timerType, shouldFullscreen } =
useContext(CounterContext);
const dashOffset = (duration - count) * (24 / duration);

const onMinimizeCallback = useCallback(() => {
Expand Down Expand Up @@ -175,7 +174,7 @@ export const TauriConnectorProvider: React.FC = ({ children }) => {
const img = new Image();
img.src = svgXML;

img.onload = function() {
img.onload = function () {
ctx?.drawImage(img, 0, 0);
const dataUrl = canvas.toDataURL("image/png");

Expand Down

0 comments on commit ba4eab2

Please sign in to comment.